Class DefaultExecutionDeploymentTracker
java.lang.Object
org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentTracker
- All Implemented Interfaces:
ExecutionDeploymentTracker
Default
ExecutionDeploymentTracker implementation.-
Constructor Summary
Constructors -
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.
-
Constructor Details
-
DefaultExecutionDeploymentTracker
public DefaultExecutionDeploymentTracker()
-
-
Method Details
-
startTrackingPendingDeploymentOf
public void startTrackingPendingDeploymentOf(ExecutionAttemptID executionAttemptId, ResourceID host) Description copied from interface:ExecutionDeploymentTrackerStarts tracking the given execution that is being deployed on the given host.- Specified by:
startTrackingPendingDeploymentOfin interfaceExecutionDeploymentTracker- Parameters:
executionAttemptId- execution to start trackinghost- hosting task executor
-
completeDeploymentOf
Description copied from interface:ExecutionDeploymentTrackerMarks the deployment of the given execution as complete.- Specified by:
completeDeploymentOfin interfaceExecutionDeploymentTracker- Parameters:
executionAttemptId- execution whose deployment to mark as complete
-
stopTrackingDeploymentOf
Description copied from interface:ExecutionDeploymentTrackerStops tracking the given execution.- Specified by:
stopTrackingDeploymentOfin interfaceExecutionDeploymentTracker- Parameters:
executionAttemptId- execution to stop tracking
-
getExecutionsOn
Description copied from interface:ExecutionDeploymentTrackerReturns all tracked executions for the given host.- Specified by:
getExecutionsOnin interfaceExecutionDeploymentTracker- Parameters:
host- hosting task executor- Returns:
- tracked executions
-