public static interface JobGraphStore.JobGraphListener
JobGraph
instances. This is used to react to races between multiple
running JobGraphStore
instances (on multiple job managers).Modifier and Type | Method and Description |
---|---|
void |
onAddedJobGraph(JobID jobId)
Callback for
JobGraph instances added by a different JobGraphStore
instance. |
void |
onRemovedJobGraph(JobID jobId)
Callback for
JobGraph instances removed by a different JobGraphStore
instance. |
void onAddedJobGraph(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(JobID jobId)
JobGraph
instances removed by a different JobGraphStore
instance.jobId
- The JobID
of the removed job graphCopyright © 2014–2023 The Apache Software Foundation. All rights reserved.