Interface JobGraphStore
-
- All Superinterfaces:
GloballyCleanableResource,JobGraphWriter,LocallyCleanableResource
- All Known Implementing Classes:
DefaultJobGraphStore,StandaloneJobGraphStore
public interface JobGraphStore extends JobGraphWriter
JobGraphinstances for recovery.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceJobGraphStore.JobGraphListenerA listener forJobGraphinstances.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Collection<org.apache.flink.api.common.JobID>getJobIds()Get all job ids of submitted job graphs to the submitted job graph store.JobGraphrecoverJobGraph(org.apache.flink.api.common.JobID jobId)voidstart(JobGraphStore.JobGraphListener jobGraphListener)Starts theJobGraphStoreservice.voidstop()Stops theJobGraphStoreservice.-
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 theJobGraphStoreservice.- Throws:
Exception
-
stop
void stop() throws Exception
Stops theJobGraphStoreservice.- Throws:
Exception
-
recoverJobGraph
@Nullable JobGraph recoverJobGraph(org.apache.flink.api.common.JobID jobId) throws Exception
- Throws:
Exception
-
getJobIds
Collection<org.apache.flink.api.common.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
-
-