Interface CheckpointPlan

All Superinterfaces:
FinishedTaskStateProvider
All Known Implementing Classes:
DefaultCheckpointPlan

public interface CheckpointPlan extends FinishedTaskStateProvider
The plan of one checkpoint, indicating which tasks to trigger, waiting for acknowledge or commit for one specific checkpoint.
  • Method Details

    • getTasksToTrigger

      List<Execution> getTasksToTrigger()
      Returns the tasks who need to be sent a message when a checkpoint is started.
    • getTasksToWaitFor

      List<Execution> getTasksToWaitFor()
      Returns tasks who need to acknowledge a checkpoint before it succeeds.
    • getTasksToCommitTo

      List<ExecutionVertex> getTasksToCommitTo()
      Returns tasks that are still running when taking the checkpoint, these need to be sent a message when the checkpoint is confirmed.
    • getFinishedTasks

      List<Execution> getFinishedTasks()
      Returns tasks that have already been finished when taking the checkpoint.
    • getFullyFinishedJobVertex

      @VisibleForTesting Collection<ExecutionJobVertex> getFullyFinishedJobVertex()
      Returns the job vertices whose tasks are all finished when taking the checkpoint.
    • mayHaveFinishedTasks

      boolean mayHaveFinishedTasks()
      Returns whether we support checkpoints after some tasks finished.