Class ExecutionGraphCheckpointPlanCalculatorContext
- java.lang.Object
-
- org.apache.flink.runtime.executiongraph.ExecutionGraphCheckpointPlanCalculatorContext
-
- All Implemented Interfaces:
CheckpointPlanCalculatorContext
public class ExecutionGraphCheckpointPlanCalculatorContext extends Object implements CheckpointPlanCalculatorContext
ACheckpointPlanCalculatorContextimplementation based on the information from anExecutionGraph.
-
-
Constructor Summary
Constructors Constructor Description ExecutionGraphCheckpointPlanCalculatorContext(ExecutionGraph executionGraph)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.flink.util.concurrent.ScheduledExecutorgetMainExecutor()Acquires the main thread executor for this job.booleanhasFinishedTasks()Detects whether there are already some tasks finished.
-
-
-
Constructor Detail
-
ExecutionGraphCheckpointPlanCalculatorContext
public ExecutionGraphCheckpointPlanCalculatorContext(ExecutionGraph executionGraph)
-
-
Method Detail
-
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.
-
-