Class ExecutionGraphCheckpointPlanCalculatorContext
- java.lang.Object
-
- org.apache.flink.runtime.executiongraph.ExecutionGraphCheckpointPlanCalculatorContext
-
- All Implemented Interfaces:
CheckpointPlanCalculatorContext
public class ExecutionGraphCheckpointPlanCalculatorContext extends Object implements CheckpointPlanCalculatorContext
ACheckpointPlanCalculatorContext
implementation 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.ScheduledExecutor
getMainExecutor()
Acquires the main thread executor for this job.boolean
hasFinishedTasks()
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:CheckpointPlanCalculatorContext
Acquires the main thread executor for this job.- Specified by:
getMainExecutor
in interfaceCheckpointPlanCalculatorContext
- Returns:
- The main thread executor.
-
hasFinishedTasks
public boolean hasFinishedTasks()
Description copied from interface:CheckpointPlanCalculatorContext
Detects whether there are already some tasks finished.- Specified by:
hasFinishedTasks
in interfaceCheckpointPlanCalculatorContext
- Returns:
- Whether there are finished tasks.
-
-