public class SingleJobJobGraphStore extends Object implements JobGraphStore
JobGraphStore
implementation for a single job.JobGraphStore.JobGraphListener
Constructor and Description |
---|
SingleJobJobGraphStore(JobGraph jobGraph) |
Modifier and Type | Method and Description |
---|---|
Collection<JobID> |
getJobIds()
Get all job ids of submitted job graphs to the submitted job graph store.
|
void |
putJobGraph(JobGraph jobGraph)
Adds the
JobGraph instance. |
JobGraph |
recoverJobGraph(JobID jobId)
|
void |
start(JobGraphStore.JobGraphListener jobGraphListener)
Starts the
JobGraphStore service. |
void |
stop()
Stops the
JobGraphStore service. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
globalCleanupAsync, localCleanupAsync
public SingleJobJobGraphStore(JobGraph jobGraph)
public void start(JobGraphStore.JobGraphListener jobGraphListener) throws Exception
JobGraphStore
JobGraphStore
service.start
in interface JobGraphStore
Exception
public void stop() throws Exception
JobGraphStore
JobGraphStore
service.stop
in interface JobGraphStore
Exception
public JobGraph recoverJobGraph(JobID jobId) throws Exception
JobGraphStore
recoverJobGraph
in interface JobGraphStore
Exception
public void putJobGraph(JobGraph jobGraph) throws Exception
JobGraphWriter
putJobGraph
in interface JobGraphWriter
Exception
public Collection<JobID> getJobIds()
JobGraphStore
getJobIds
in interface JobGraphStore
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.