public interface TileWorker
Modifier and Type | Method and Description |
---|---|
JobExecutingStates |
addTask(TileTask toAdd)
Adds Unit tiling Task.
|
boolean |
deployData(ProviderConnInfo[] providerConnectionInfos, java.lang.String masterAddress, boolean readOnly, java.lang.String id, FileVerificationMode verificationMode)
Deploys the tiling data.
|
boolean |
deployJob(JobBuildConfig pConfig)
Deploys the tiling task.
|
TileTaskState |
getTaskState(java.lang.String tileTaskId)
Gets the unit tile task status.
|
boolean |
notifyJobCompleted(java.lang.String jobId)
Notifies the TileWorker node that the tiling task has been completed and can turn off some of the resources (eg thread, memory pool, etc.) for the application.
|
boolean |
stopDeployData(java.lang.String[] masterSideIds)
Notifies the TileWorker node to stop downloading data.
|
JobExecutingStates |
whatAreYouDoing()
Gets the tiling task status.
|
boolean deployJob(JobBuildConfig pConfig)
Deploys the tiling task.
pConfig
-JobExecutingStates addTask(TileTask toAdd)
Adds Unit tiling Task.
toAdd
-JobExecutingStates whatAreYouDoing()
Gets the tiling task status.
TileTaskState getTaskState(java.lang.String tileTaskId)
Gets the unit tile task status.
tileTaskId
-boolean notifyJobCompleted(java.lang.String jobId)
TileMaster
jobId
-boolean deployData(ProviderConnInfo[] providerConnectionInfos, java.lang.String masterAddress, boolean readOnly, java.lang.String id, FileVerificationMode verificationMode) throws java.io.IOException
Deploys the tiling data.
providerConnectionInfos
-masterAddress
-readOnly
-id
-verificationMode
-java.io.IOException
boolean stopDeployData(java.lang.String[] masterSideIds)
Notifies the TileWorker node to stop downloading data.
masterSideIds@
-