Interface JobGraphStore
-
- All Superinterfaces:
GloballyCleanableResource
,JobGraphWriter
,LocallyCleanableResource
- All Known Implementing Classes:
DefaultJobGraphStore
,StandaloneJobGraphStore
public interface JobGraphStore extends JobGraphWriter
JobGraph
instances for recovery.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
JobGraphStore.JobGraphListener
A listener forJobGraph
instances.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<JobID>
getJobIds()
Get all job ids of submitted job graphs to the submitted job graph store.JobGraph
recoverJobGraph(JobID jobId)
void
start(JobGraphStore.JobGraphListener jobGraphListener)
Starts theJobGraphStore
service.void
stop()
Stops theJobGraphStore
service.-
Methods inherited from interface org.apache.flink.runtime.jobmanager.JobGraphWriter
globalCleanupAsync, localCleanupAsync, putJobGraph, putJobResourceRequirements
-
-
-
-
Method Detail
-
start
void start(JobGraphStore.JobGraphListener jobGraphListener) throws Exception
Starts theJobGraphStore
service.- Throws:
Exception
-
stop
void stop() throws Exception
Stops theJobGraphStore
service.- Throws:
Exception
-
getJobIds
Collection<JobID> getJobIds() throws Exception
Get all job ids of submitted job graphs to the submitted job graph store.- Returns:
- Collection of submitted job ids
- Throws:
Exception
- if the operation fails
-
-