Interface JobGraphStore.JobGraphListener
-
- All Known Implementing Classes:
DefaultJobGraphStore,SessionDispatcherLeaderProcess
- Enclosing interface:
- JobGraphStore
public static interface JobGraphStore.JobGraphListenerA listener forJobGraphinstances. This is used to react to races between multiple runningJobGraphStoreinstances (on multiple job managers).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidonAddedJobGraph(org.apache.flink.api.common.JobID jobId)Callback forJobGraphinstances added by a differentJobGraphStoreinstance.voidonRemovedJobGraph(org.apache.flink.api.common.JobID jobId)Callback forJobGraphinstances removed by a differentJobGraphStoreinstance.
-
-
-
Method Detail
-
onAddedJobGraph
void onAddedJobGraph(org.apache.flink.api.common.JobID jobId)
Callback forJobGraphinstances added by a differentJobGraphStoreinstance.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
-
onRemovedJobGraph
void onRemovedJobGraph(org.apache.flink.api.common.JobID jobId)
Callback forJobGraphinstances removed by a differentJobGraphStoreinstance.- Parameters:
jobId- TheJobIDof the removed job graph
-
-