Interface ExecutionDeploymentReconciliationHandler
public interface ExecutionDeploymentReconciliationHandler
Interface for triggering actions in case of state mismatches.
-
Method Summary
Modifier and TypeMethodDescriptionvoidonMissingDeploymentsOf(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 Details
-
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
-