Class DefaultExecutionDeploymentReconciler
- java.lang.Object
-
- org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentReconciler
-
- All Implemented Interfaces:
ExecutionDeploymentReconciler
public class DefaultExecutionDeploymentReconciler extends Object implements ExecutionDeploymentReconciler
DefaultExecutionDeploymentReconciler
implementation. Detects missing/unknown deployments, and defers to a providedExecutionDeploymentReconciliationHandler
to resolve them.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.jobmaster.ExecutionDeploymentReconciler
ExecutionDeploymentReconciler.Factory
-
-
Constructor Summary
Constructors Constructor Description DefaultExecutionDeploymentReconciler(ExecutionDeploymentReconciliationHandler handler)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
reconcileExecutionDeployments(ResourceID taskExecutorHost, ExecutionDeploymentReport executionDeploymentReport, Map<ExecutionAttemptID,ExecutionDeploymentState> expectedDeployedExecutions)
Reconciles the deployment states between all reported/expected executions for the given task executor.
-
-
-
Constructor Detail
-
DefaultExecutionDeploymentReconciler
public DefaultExecutionDeploymentReconciler(ExecutionDeploymentReconciliationHandler handler)
-
-
Method Detail
-
reconcileExecutionDeployments
public void reconcileExecutionDeployments(ResourceID taskExecutorHost, ExecutionDeploymentReport executionDeploymentReport, Map<ExecutionAttemptID,ExecutionDeploymentState> expectedDeployedExecutions)
Description copied from interface:ExecutionDeploymentReconciler
Reconciles the deployment states between all reported/expected executions for the given task executor.- Specified by:
reconcileExecutionDeployments
in interfaceExecutionDeploymentReconciler
- Parameters:
taskExecutorHost
- hosting task executorexecutionDeploymentReport
- task executor report for deployed executionsexpectedDeployedExecutions
- map of expected executions and their current deployment status
-
-