Interface ExecutionPlanStore
-
- All Superinterfaces:
ExecutionPlanWriter
,GloballyCleanableResource
,LocallyCleanableResource
- All Known Implementing Classes:
DefaultExecutionPlanStore
,StandaloneExecutionPlanStore
public interface ExecutionPlanStore extends ExecutionPlanWriter
ExecutionPlan
instances for recovery.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static interface
ExecutionPlanStore.ExecutionPlanListener
A listener forExecutionPlan
instances.
-
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.ExecutionPlan
recoverExecutionPlan(org.apache.flink.api.common.JobID jobId)
void
start(ExecutionPlanStore.ExecutionPlanListener executionPlanListener)
Starts theExecutionPlanStore
service.void
stop()
Stops theExecutionPlanStore
service.-
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 theExecutionPlanStore
service.- Throws:
Exception
-
stop
void stop() throws Exception
Stops theExecutionPlanStore
service.- 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
-
-