com.supermap.services.components.impl
Class CloudRuntimeJobState
- java.lang.Object
-
- com.supermap.services.components.commontypes.JobState
-
- com.supermap.services.components.AbstractRuntimeJobState
-
- com.supermap.services.components.impl.CloudRuntimeJobState
-
public class CloudRuntimeJobState extends AbstractRuntimeJobState
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.supermap.services.components.AbstractRuntimeJobState
AbstractRuntimeJobState.DeployTaskResult, AbstractRuntimeJobState.JobStateListener
-
-
Field Summary
-
Fields inherited from class com.supermap.services.components.AbstractRuntimeJobState
changeStateLock, config, currentState, listeners, stopped, tileRegionStateManager
-
Fields inherited from class com.supermap.services.components.commontypes.JobState
analystBlankPercentage, buildingScale, completed, completedBytes, completedScale, dataPreProcessBuildConfig, dataPreProcessState, deployedCompleted, deployedTotal, deployedWorkerInfo, deployingDataWorkerInfo, elapsedTime, masterAddress, noFeaturesTileCount, pureColorTileCount, remainTime, runState, scaleConfigs, scaleInfos, speedPerSecond, startTime, tasks, tasksToRetry, tileMatrixEdgeCount, total
-
-
Constructor Summary
Constructors Constructor and Description CloudRuntimeJobState(JobState jobState)
-
Method Summary
Methods Modifier and Type Method and Description TileTaskgetTask()Gets unit tasks.voidsetConfig(JobBuildConfig value)Sets the tiling task configuration information.JobStateupdateTaskToCompleted(TileTask task)Updates the current state to reflect the task has been completed.JobStateupdateTaskToCompleted(TileTask task, TileTaskBuildResult taskBuildResult, TileWorkerInfo tileWorkerInfo)Updates the current state to reflect the task has been completed.-
Methods inherited from class com.supermap.services.components.AbstractRuntimeJobState
addListener, addUpdateTasks, delTask, deployTaskToWorker, getAllTasks, getInfoByScale, getScaleBuildConfigByScale, getState, getTaskById, mergeWorkerBuildingInfos, notifyLostConnectionPerhaps, notifyWorkerDisconnected, setTileRegionStateManager, start, stop, updatElapsedTime, updateProgress, updateTaskFailed
-
Methods inherited from class com.supermap.services.components.commontypes.JobState
equals, hashCode, setTileCountPerTask
-
-
-
-
Constructor Detail
-
CloudRuntimeJobState
public CloudRuntimeJobState(JobState jobState)
-
-
Method Detail
-
updateTaskToCompleted
public JobState updateTaskToCompleted(TileTask task, TileTaskBuildResult taskBuildResult, TileWorkerInfo tileWorkerInfo)
Description copied from class:AbstractRuntimeJobStateUpdates the current state to reflect the task has been completed.
- Specified by:
updateTaskToCompletedin classAbstractRuntimeJobState- Returns:
-
updateTaskToCompleted
public JobState updateTaskToCompleted(TileTask task)
Description copied from class:AbstractRuntimeJobStateUpdates the current state to reflect the task has been completed.
- Specified by:
updateTaskToCompletedin classAbstractRuntimeJobState- Returns:
-
getTask
public TileTask getTask()
Description copied from class:AbstractRuntimeJobStateGets unit tasks.
- Specified by:
getTaskin classAbstractRuntimeJobState- Returns:
-
setConfig
public void setConfig(JobBuildConfig value)
Description copied from class:AbstractRuntimeJobStateSets the tiling task configuration information.
- Overrides:
setConfigin classAbstractRuntimeJobState
-
-