Interface ExecutionDeploymentReconciliationHandler
-
public interface ExecutionDeploymentReconciliationHandlerInterface for triggering actions in case of state mismatches.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonMissingDeploymentsOf(Collection<ExecutionAttemptID> executionAttemptIds, ResourceID hostingTaskExecutor)Called if some executions are expected to be hosted on a task executor, but aren't.voidonUnknownDeploymentsOf(Collection<ExecutionAttemptID> executionAttemptIds, ResourceID hostingTaskExecutor)Called if some executions are hosted on a task executor, but we don't expect them.
-
-
-
Method Detail
-
onMissingDeploymentsOf
void onMissingDeploymentsOf(Collection<ExecutionAttemptID> executionAttemptIds, ResourceID hostingTaskExecutor)
Called if some executions are expected to be hosted on a task executor, but aren't.- Parameters:
executionAttemptIds- ids of the missing deploymentshostingTaskExecutor- expected hosting task executor
-
onUnknownDeploymentsOf
void onUnknownDeploymentsOf(Collection<ExecutionAttemptID> executionAttemptIds, ResourceID hostingTaskExecutor)
Called if some executions are hosted on a task executor, but we don't expect them.- Parameters:
executionAttemptIds- ids of the unknown executionshostingTaskExecutor- hosting task executor
-
-