public class DefaultExecutionDeploymentTracker extends Object implements ExecutionDeploymentTracker
ExecutionDeploymentTracker implementation.| 构造器和说明 |
|---|
DefaultExecutionDeploymentTracker() |
| 限定符和类型 | 方法和说明 |
|---|---|
void |
completeDeploymentOf(ExecutionAttemptID executionAttemptId)
Marks the deployment of the given execution as complete.
|
Map<ExecutionAttemptID,ExecutionDeploymentState> |
getExecutionsOn(ResourceID host)
Returns all tracked executions for the given host.
|
void |
startTrackingPendingDeploymentOf(ExecutionAttemptID executionAttemptId,
ResourceID host)
Starts tracking the given execution that is being deployed on the given host.
|
void |
stopTrackingDeploymentOf(ExecutionAttemptID executionAttemptId)
Stops tracking the given execution.
|
public void startTrackingPendingDeploymentOf(ExecutionAttemptID executionAttemptId, ResourceID host)
ExecutionDeploymentTrackerstartTrackingPendingDeploymentOf 在接口中 ExecutionDeploymentTrackerexecutionAttemptId - execution to start trackinghost - hosting task executorpublic void completeDeploymentOf(ExecutionAttemptID executionAttemptId)
ExecutionDeploymentTrackercompleteDeploymentOf 在接口中 ExecutionDeploymentTrackerexecutionAttemptId - execution whose deployment to mark as completepublic void stopTrackingDeploymentOf(ExecutionAttemptID executionAttemptId)
ExecutionDeploymentTrackerstopTrackingDeploymentOf 在接口中 ExecutionDeploymentTrackerexecutionAttemptId - execution to stop trackingpublic Map<ExecutionAttemptID,ExecutionDeploymentState> getExecutionsOn(ResourceID host)
ExecutionDeploymentTrackergetExecutionsOn 在接口中 ExecutionDeploymentTrackerhost - hosting task executorCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.