Interface CheckpointPlanCalculatorContext
- All Known Implementing Classes:
ExecutionGraphCheckpointPlanCalculatorContext
public interface CheckpointPlanCalculatorContext
Provides the context for
DefaultCheckpointPlanCalculator to compute the plan of
checkpoints.-
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.
-
Method Details
-
getMainExecutor
org.apache.flink.util.concurrent.ScheduledExecutor getMainExecutor()Acquires the main thread executor for this job.- Returns:
- The main thread executor.
-
hasFinishedTasks
boolean hasFinishedTasks()Detects whether there are already some tasks finished.- Returns:
- Whether there are finished tasks.
-