public static interface JobGraphStore.JobGraphListener
JobGraph instances. This is used to react to races between multiple
running JobGraphStore instances (on multiple job managers).| 限定符和类型 | 方法和说明 |
|---|---|
void |
onAddedJobGraph(org.apache.flink.api.common.JobID jobId)
Callback for
JobGraph instances added by a different JobGraphStore
instance. |
void |
onRemovedJobGraph(org.apache.flink.api.common.JobID jobId)
Callback for
JobGraph instances removed by a different JobGraphStore
instance. |
void onAddedJobGraph(org.apache.flink.api.common.JobID jobId)
JobGraph instances added by a different JobGraphStore
instance.
Important: It is possible to get false positives and be notified about a job graph, which was added by this instance.
jobId - The JobID of the added job graphvoid onRemovedJobGraph(org.apache.flink.api.common.JobID jobId)
JobGraph instances removed by a different JobGraphStore
instance.jobId - The JobID of the removed job graphCopyright © 2014–2022 The Apache Software Foundation. All rights reserved.