Interface ExecutionDeploymentTracker
- All Known Implementing Classes:
DefaultExecutionDeploymentTracker
public interface ExecutionDeploymentTracker
A tracker for deployed executions.
-
Method Summary
Modifier and TypeMethodDescriptionvoidcompleteDeploymentOf(ExecutionAttemptID executionAttemptId) Marks the deployment of the given execution as complete.getExecutionsOn(ResourceID host) Returns all tracked executions for the given host.voidstartTrackingPendingDeploymentOf(ExecutionAttemptID executionAttemptId, ResourceID host) Starts tracking the given execution that is being deployed on the given host.voidstopTrackingDeploymentOf(ExecutionAttemptID executionAttemptId) Stops tracking the given execution.
-
Method Details
-
startTrackingPendingDeploymentOf
Starts tracking the given execution that is being deployed on the given host.- Parameters:
executionAttemptId- execution to start trackinghost- hosting task executor
-
completeDeploymentOf
Marks the deployment of the given execution as complete.- Parameters:
executionAttemptId- execution whose deployment to mark as complete
-
stopTrackingDeploymentOf
Stops tracking the given execution.- Parameters:
executionAttemptId- execution to stop tracking
-
getExecutionsOn
Returns all tracked executions for the given host.- Parameters:
host- hosting task executor- Returns:
- tracked executions
-