public class DefaultExecutionDeploymentReconciler extends Object implements ExecutionDeploymentReconciler
ExecutionDeploymentReconciler
implementation. Detects missing/unknown
deployments, and defers to a provided ExecutionDeploymentReconciliationHandler
to resolve
them.ExecutionDeploymentReconciler.Factory
Constructor and Description |
---|
DefaultExecutionDeploymentReconciler(ExecutionDeploymentReconciliationHandler handler) |
Modifier and Type | Method and 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.
|
public DefaultExecutionDeploymentReconciler(ExecutionDeploymentReconciliationHandler handler)
public void reconcileExecutionDeployments(ResourceID taskExecutorHost, ExecutionDeploymentReport executionDeploymentReport, Map<ExecutionAttemptID,ExecutionDeploymentState> expectedDeployedExecutions)
ExecutionDeploymentReconciler
reconcileExecutionDeployments
in interface ExecutionDeploymentReconciler
taskExecutorHost
- hosting task executorexecutionDeploymentReport
- task executor report for deployed executionsexpectedDeployedExecutions
- map of expected executions and their current deployment
statusCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.