Class DefaultExecutionDeploymentTracker
- java.lang.Object
-
- org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentTracker
-
- All Implemented Interfaces:
ExecutionDeploymentTracker
public class DefaultExecutionDeploymentTracker extends Object implements ExecutionDeploymentTracker
DefaultExecutionDeploymentTrackerimplementation.
-
-
Constructor Summary
Constructors Constructor Description DefaultExecutionDeploymentTracker()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcompleteDeploymentOf(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.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 Detail
-
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
public void completeDeploymentOf(ExecutionAttemptID executionAttemptId)
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
public void stopTrackingDeploymentOf(ExecutionAttemptID executionAttemptId)
Description copied from interface:ExecutionDeploymentTrackerStops tracking the given execution.- Specified by:
stopTrackingDeploymentOfin interfaceExecutionDeploymentTracker- Parameters:
executionAttemptId- execution to stop tracking
-
getExecutionsOn
public Map<ExecutionAttemptID,ExecutionDeploymentState> getExecutionsOn(ResourceID host)
Description copied from interface:ExecutionDeploymentTrackerReturns all tracked executions for the given host.- Specified by:
getExecutionsOnin interfaceExecutionDeploymentTracker- Parameters:
host- hosting task executor- Returns:
- tracked executions
-
-