public class DefaultExecutionDeploymentTracker extends Object implements ExecutionDeploymentTracker
ExecutionDeploymentTracker implementation.| Constructor and Description |
|---|
DefaultExecutionDeploymentTracker() |
| Modifier and Type | Method and Description |
|---|---|
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 in interface ExecutionDeploymentTrackerexecutionAttemptId - execution to start trackinghost - hosting task executorpublic void completeDeploymentOf(ExecutionAttemptID executionAttemptId)
ExecutionDeploymentTrackercompleteDeploymentOf in interface ExecutionDeploymentTrackerexecutionAttemptId - execution whose deployment to mark as completepublic void stopTrackingDeploymentOf(ExecutionAttemptID executionAttemptId)
ExecutionDeploymentTrackerstopTrackingDeploymentOf in interface ExecutionDeploymentTrackerexecutionAttemptId - execution to stop trackingpublic Map<ExecutionAttemptID,ExecutionDeploymentState> getExecutionsOn(ResourceID host)
ExecutionDeploymentTrackergetExecutionsOn in interface ExecutionDeploymentTrackerhost - hosting task executorCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.