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