Class StandaloneExecutionPlanStore
java.lang.Object
org.apache.flink.runtime.jobmanager.StandaloneExecutionPlanStore
- All Implemented Interfaces:
GloballyCleanableResource,LocallyCleanableResource,ExecutionPlanStore,ExecutionPlanWriter
ExecutionPlan instances for JobManagers running in HighAvailabilityMode.NONE.
All operations are NoOps, because ExecutionPlan instances cannot be recovered in this
recovery mode.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.runtime.jobmanager.ExecutionPlanStore
ExecutionPlanStore.ExecutionPlanListener -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionCollection<org.apache.flink.api.common.JobID>Get all job ids of submitted job graphs to the submitted execution plan store.voidputExecutionPlan(ExecutionPlan jobGraph) Adds theExecutionPlaninstance.voidputJobResourceRequirements(org.apache.flink.api.common.JobID jobId, JobResourceRequirements jobResourceRequirements) Persistjob resource requirementsfor the given job.recoverExecutionPlan(org.apache.flink.api.common.JobID jobId) voidstart(ExecutionPlanStore.ExecutionPlanListener executionPlanListener) Starts theExecutionPlanStoreservice.voidstop()Stops theExecutionPlanStoreservice.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.flink.runtime.jobmanager.ExecutionPlanWriter
globalCleanupAsync, localCleanupAsync
-
Constructor Details
-
StandaloneExecutionPlanStore
public StandaloneExecutionPlanStore()
-
-
Method Details
-
start
Description copied from interface:ExecutionPlanStoreStarts theExecutionPlanStoreservice.- Specified by:
startin interfaceExecutionPlanStore- Throws:
Exception
-
stop
public void stop()Description copied from interface:ExecutionPlanStoreStops theExecutionPlanStoreservice.- Specified by:
stopin interfaceExecutionPlanStore
-
putExecutionPlan
Description copied from interface:ExecutionPlanWriterAdds theExecutionPlaninstance.If a execution plan with the same
JobIDexists, it is replaced.- Specified by:
putExecutionPlanin interfaceExecutionPlanWriter
-
putJobResourceRequirements
public void putJobResourceRequirements(org.apache.flink.api.common.JobID jobId, JobResourceRequirements jobResourceRequirements) Description copied from interface:ExecutionPlanWriterPersistjob resource requirementsfor the given job.- Specified by:
putJobResourceRequirementsin interfaceExecutionPlanWriter- Parameters:
jobId- job the given requirements belong tojobResourceRequirements- requirements to persist
-
getJobIds
Description copied from interface:ExecutionPlanStoreGet all job ids of submitted job graphs to the submitted execution plan store.- Specified by:
getJobIdsin interfaceExecutionPlanStore- Returns:
- Collection of submitted job ids
-
recoverExecutionPlan
Description copied from interface:ExecutionPlanStore- Specified by:
recoverExecutionPlanin interfaceExecutionPlanStore
-