com.supermap.services.components.impl
类 LocalTileWorkerClient
- java.lang.Object
-
- com.supermap.services.components.impl.LocalTileWorkerClient
-
- 所有已实现的接口:
- TileWorkerClient
public class LocalTileWorkerClient extends java.lang.Object implements TileWorkerClient
- 从以下版本开始:
- 7.0.1
-
-
嵌套类概要
-
从接口继承的嵌套类/接口 com.supermap.services.components.TileWorkerClient
TileWorkerClient.ConnectTileWorkerException, TileWorkerClient.WorkerConnectionStateListener
-
-
构造器概要
构造器 构造器和说明 LocalTileWorkerClient()
-
方法概要
方法 限定符和类型 方法和说明 void
addListener(TileWorkerClient.WorkerConnectionStateListener listener)
void
addTask(TileTask task)
CompConnInfo
deployData(JobBuildConfig config, JobDeployingInfo deployingInfo)
部署数据。void
deployJob(JobBuildConfig config)
java.lang.String
getId()
TileWorkerInfo
getInfo()
TileWorkerState
getState()
TileTaskState
getTaskState(java.lang.String taskId)
TileWorker
getTileWorker()
boolean
notifyJobCompleted(java.lang.String jobId)
通知TileWorker节点,切图任务已经完成,可以把申请的一些资源(eg: 线程,内存池等)关掉.boolean
notifyJobTaskComplete(java.lang.String jobId, java.lang.String taskID)
通知TileWorker节点,切图任务已经完成void
quit()
void
removeListener(TileWorkerClient.WorkerConnectionStateListener listener)
void
setConnectionInfo(TileWorkerInfo workerInfo)
设置连接信息。void
setTileWorker(TileWorker value)
-
-
-
方法详细资料
-
getTileWorker
public TileWorker getTileWorker()
-
setTileWorker
public void setTileWorker(TileWorker value)
-
getState
public TileWorkerState getState()
- 指定者:
getState
在接口中TileWorkerClient
- 返回:
- 从以下版本开始:
- 7.0.1
-
addListener
public void addListener(TileWorkerClient.WorkerConnectionStateListener listener)
- 指定者:
addListener
在接口中TileWorkerClient
- 参数:
listener
-- 从以下版本开始:
- 7.0.1
-
deployJob
public void deployJob(JobBuildConfig config) throws TileWorkerClient.ConnectTileWorkerException
- 指定者:
deployJob
在接口中TileWorkerClient
- 参数:
config
-- 抛出:
ConnectTileWorkerException
TileWorkerClient.ConnectTileWorkerException
- 从以下版本开始:
- 7.0.1
-
deployData
public CompConnInfo deployData(JobBuildConfig config, JobDeployingInfo deployingInfo)
从接口复制的说明:TileWorkerClient
部署数据。
- 指定者:
deployData
在接口中TileWorkerClient
- 参数:
config
- 配置信息- 返回:
-
addTask
public void addTask(TileTask task) throws TileWorkerClient.ConnectTileWorkerException
- 指定者:
addTask
在接口中TileWorkerClient
- 参数:
task
-- 抛出:
ConnectTileWorkerException
TileWorkerClient.ConnectTileWorkerException
- 从以下版本开始:
- 7.0.1
-
getInfo
public TileWorkerInfo getInfo()
- 指定者:
getInfo
在接口中TileWorkerClient
- 返回:
- 从以下版本开始:
- 7.0.1
-
getId
public java.lang.String getId()
- 指定者:
getId
在接口中TileWorkerClient
- 返回:
- 从以下版本开始:
- 7.0.1
-
getTaskState
public TileTaskState getTaskState(java.lang.String taskId)
- 指定者:
getTaskState
在接口中TileWorkerClient
- 参数:
taskId
-- 返回:
- 从以下版本开始:
- 7.0.1
-
quit
public void quit()
- 指定者:
quit
在接口中TileWorkerClient
- 从以下版本开始:
- 7.0.1
-
removeListener
public void removeListener(TileWorkerClient.WorkerConnectionStateListener listener)
- 指定者:
removeListener
在接口中TileWorkerClient
- 参数:
listener
-- 从以下版本开始:
- 7.0.1
-
setConnectionInfo
public void setConnectionInfo(TileWorkerInfo workerInfo)
从接口复制的说明:TileWorkerClient
设置连接信息。
- 指定者:
setConnectionInfo
在接口中TileWorkerClient
- 参数:
workerInfo
- 连接信息
-
notifyJobCompleted
public boolean notifyJobCompleted(java.lang.String jobId)
从接口复制的说明:TileWorkerClient
通知TileWorker节点,切图任务已经完成,可以把申请的一些资源(eg: 线程,内存池等)关掉. 这个方法主要被TileMaster
调用- 指定者:
notifyJobCompleted
在接口中TileWorkerClient
- 返回:
-
notifyJobTaskComplete
public boolean notifyJobTaskComplete(java.lang.String jobId, java.lang.String taskID)
从接口复制的说明:TileWorkerClient
通知TileWorker节点,切图任务已经完成
- 指定者:
notifyJobTaskComplete
在接口中TileWorkerClient
- 返回:
-
-