Class DefaultExecutionDeploymentReconciler
- java.lang.Object
-
- org.apache.flink.runtime.jobmaster.DefaultExecutionDeploymentReconciler
-
- All Implemented Interfaces:
ExecutionDeploymentReconciler
public class DefaultExecutionDeploymentReconciler extends Object implements ExecutionDeploymentReconciler
DefaultExecutionDeploymentReconcilerimplementation. Detects missing/unknown deployments, and defers to a providedExecutionDeploymentReconciliationHandlerto 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 voidreconcileExecutionDeployments(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:ExecutionDeploymentReconcilerReconciles the deployment states between all reported/expected executions for the given task executor.- Specified by:
reconcileExecutionDeploymentsin interfaceExecutionDeploymentReconciler- Parameters:
taskExecutorHost- hosting task executorexecutionDeploymentReport- task executor report for deployed executionsexpectedDeployedExecutions- map of expected executions and their current deployment status
-
-