com.supermap.services.components
Interface TileWorker
-
- All Known Implementing Classes:
- DefaultTileWorker
public interface TileWorker
-
-
Method Summary
Methods Modifier and Type Method and Description JobExecutingStatesaddTask(TileTask toAdd)Adds Unit tiling Task.booleandeployData(ProviderConnInfo[] providerConnectionInfos, java.lang.String masterAddress, boolean readOnly, java.lang.String id, FileVerificationMode verificationMode)Deploys the tiling data.booleandeployJob(JobBuildConfig pConfig)Deploys the tiling task.TileTaskStategetTaskState(java.lang.String tileTaskId)Gets the unit tile task status.booleannotifyJobCompleted(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.booleanstopDeployData(java.lang.String[] masterSideIds)Notifies the TileWorker node to stop downloading data.JobExecutingStateswhatAreYouDoing()Gets the tiling task status.
-
-
-
Method Detail
-
deployJob
boolean deployJob(JobBuildConfig pConfig)
Deploys the tiling task.
- Parameters:
pConfig-- Returns:
-
addTask
JobExecutingStates addTask(TileTask toAdd)
Adds Unit tiling Task.
- Parameters:
toAdd-- Returns:
-
whatAreYouDoing
JobExecutingStates whatAreYouDoing()
Gets the tiling task status.
- Returns:
-
getTaskState
TileTaskState getTaskState(java.lang.String tileTaskId)
Gets the unit tile task status.
- Parameters:
tileTaskId-- Returns:
-
notifyJobCompleted
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. The method is called byTileMaster- Parameters:
jobId-- Returns:
-
deployData
boolean deployData(ProviderConnInfo[] providerConnectionInfos, java.lang.String masterAddress, boolean readOnly, java.lang.String id, FileVerificationMode verificationMode) throws java.io.IOException
Deploys the tiling data.
- Parameters:
providerConnectionInfos-masterAddress-readOnly-id-verificationMode-- Returns:
- Throws:
java.io.IOException
-
stopDeployData
boolean stopDeployData(java.lang.String[] masterSideIds)
Notifies the TileWorker node to stop downloading data.
- Parameters:
masterSideIds@-- Returns:
- Since:
- 8.0.0
-
-