Interface ExecutionPlanStore
-
- All Superinterfaces:
ExecutionPlanWriter,GloballyCleanableResource,LocallyCleanableResource
- All Known Implementing Classes:
DefaultExecutionPlanStore,StandaloneExecutionPlanStore
public interface ExecutionPlanStore extends ExecutionPlanWriter
ExecutionPlaninstances for recovery.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interfaceExecutionPlanStore.ExecutionPlanListenerA listener forExecutionPlaninstances.
-
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 execution plan store.ExecutionPlanrecoverExecutionPlan(org.apache.flink.api.common.JobID jobId)voidstart(ExecutionPlanStore.ExecutionPlanListener executionPlanListener)Starts theExecutionPlanStoreservice.voidstop()Stops theExecutionPlanStoreservice.-
Methods inherited from interface org.apache.flink.runtime.jobmanager.ExecutionPlanWriter
globalCleanupAsync, localCleanupAsync, putExecutionPlan, putJobResourceRequirements
-
-
-
-
Method Detail
-
start
void start(ExecutionPlanStore.ExecutionPlanListener executionPlanListener) throws Exception
Starts theExecutionPlanStoreservice.- Throws:
Exception
-
stop
void stop() throws Exception
Stops theExecutionPlanStoreservice.- Throws:
Exception
-
recoverExecutionPlan
@Nullable ExecutionPlan recoverExecutionPlan(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 execution plan store.- Returns:
- Collection of submitted job ids
- Throws:
Exception- if the operation fails
-
-