Class ExecutionGraphCheckpointPlanCalculatorContext
java.lang.Object
org.apache.flink.runtime.executiongraph.ExecutionGraphCheckpointPlanCalculatorContext
- All Implemented Interfaces:
CheckpointPlanCalculatorContext
public class ExecutionGraphCheckpointPlanCalculatorContext
extends Object
implements CheckpointPlanCalculatorContext
A
CheckpointPlanCalculatorContext implementation based on the information from an ExecutionGraph.-
Constructor Summary
ConstructorsConstructorDescriptionExecutionGraphCheckpointPlanCalculatorContext(ExecutionGraph executionGraph) -
Method Summary
Modifier and TypeMethodDescriptionorg.apache.flink.util.concurrent.ScheduledExecutorAcquires the main thread executor for this job.booleanDetects whether there are already some tasks finished.
-
Constructor Details
-
ExecutionGraphCheckpointPlanCalculatorContext
-
-
Method Details
-
getMainExecutor
public org.apache.flink.util.concurrent.ScheduledExecutor getMainExecutor()Description copied from interface:CheckpointPlanCalculatorContextAcquires the main thread executor for this job.- Specified by:
getMainExecutorin interfaceCheckpointPlanCalculatorContext- Returns:
- The main thread executor.
-
hasFinishedTasks
public boolean hasFinishedTasks()Description copied from interface:CheckpointPlanCalculatorContextDetects whether there are already some tasks finished.- Specified by:
hasFinishedTasksin interfaceCheckpointPlanCalculatorContext- Returns:
- Whether there are finished tasks.
-