Interface ExecutionPlanStore.ExecutionPlanListener
-
- All Known Implementing Classes:
DefaultExecutionPlanStore,SessionDispatcherLeaderProcess
- Enclosing interface:
- ExecutionPlanStore
public static interface ExecutionPlanStore.ExecutionPlanListenerA listener forExecutionPlaninstances. This is used to react to races between multiple runningExecutionPlanStoreinstances (on multiple job managers).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAddedExecutionPlan(org.apache.flink.api.common.JobID jobId)Callback forExecutionPlaninstances added by a differentExecutionPlanStoreinstance.voidonRemovedExecutionPlan(org.apache.flink.api.common.JobID jobId)Callback forExecutionPlaninstances removed by a differentExecutionPlanStoreinstance.
-
-
-
Method Detail
-
onAddedExecutionPlan
void onAddedExecutionPlan(org.apache.flink.api.common.JobID jobId)
Callback forExecutionPlaninstances added by a differentExecutionPlanStoreinstance.Important: It is possible to get false positives and be notified about a job graph, which was added by this instance.
- Parameters:
jobId- TheJobIDof the added job graph
-
onRemovedExecutionPlan
void onRemovedExecutionPlan(org.apache.flink.api.common.JobID jobId)
Callback forExecutionPlaninstances removed by a differentExecutionPlanStoreinstance.- Parameters:
jobId- TheJobIDof the removed job graph
-
-