public interface ExecutionDeploymentTracker
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.
|
void startTrackingPendingDeploymentOf(ExecutionAttemptID executionAttemptId, ResourceID host)
executionAttemptId
- execution to start trackinghost
- hosting task executorvoid completeDeploymentOf(ExecutionAttemptID executionAttemptId)
executionAttemptId
- execution whose deployment to mark as completevoid stopTrackingDeploymentOf(ExecutionAttemptID executionAttemptId)
executionAttemptId
- execution to stop trackingMap<ExecutionAttemptID,ExecutionDeploymentState> getExecutionsOn(ResourceID host)
host
- hosting task executorCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.