public interface JobGraphStoreWatcher
JobGraphStore. It could monitor all the changes on the job graph store and
notify the JobGraphStore via JobGraphStore.JobGraphListener.
Important: The JobGraphStoreWatcher could not guarantee that there is
no JobGraphStore.JobGraphListener callbacks happen after stop(). So the
implementor is responsible for filtering out these spurious callbacks.
| Modifier and Type | Method and Description |
|---|---|
void |
start(JobGraphStore.JobGraphListener jobGraphListener)
Start the watcher on
JobGraphStore. |
void |
stop()
Stop the watcher on
JobGraphStore. |
void start(JobGraphStore.JobGraphListener jobGraphListener) throws Exception
JobGraphStore.jobGraphListener - use jobGraphListener to notify the DefaultJobGraphStoreException - when start internal servicesvoid stop() throws Exception
JobGraphStore.Exception - when stop internal servicesCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.