Interface CheckpointPlan
- All Superinterfaces:
FinishedTaskStateProvider
- All Known Implementing Classes:
DefaultCheckpointPlan
The plan of one checkpoint, indicating which tasks to trigger, waiting for acknowledge or commit
for one specific checkpoint.
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.apache.flink.runtime.checkpoint.FinishedTaskStateProvider
FinishedTaskStateProvider.PartialFinishingNotSupportedByStateException -
Method Summary
Modifier and TypeMethodDescriptionReturns tasks that have already been finished when taking the checkpoint.Returns the job vertices whose tasks are all finished when taking the checkpoint.Returns tasks that are still running when taking the checkpoint, these need to be sent a message when the checkpoint is confirmed.Returns the tasks who need to be sent a message when a checkpoint is started.Returns tasks who need to acknowledge a checkpoint before it succeeds.booleanReturns whether we support checkpoints after some tasks finished.Methods inherited from interface org.apache.flink.runtime.checkpoint.FinishedTaskStateProvider
fulfillFinishedTaskStatus, reportTaskFinishedOnRestore, reportTaskHasFinishedOperators
-
Method Details
-
getTasksToTrigger
Returns the tasks who need to be sent a message when a checkpoint is started. -
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
Returns tasks that have already been finished when taking the checkpoint. -
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.
-