public interface CheckpointPlan extends FinishedTaskStateProvider
FinishedTaskStateProvider.PartialFinishingNotSupportedByStateException
Modifier and Type | Method and Description |
---|---|
List<Execution> |
getFinishedTasks()
Returns tasks that have already been finished when taking the checkpoint.
|
Collection<ExecutionJobVertex> |
getFullyFinishedJobVertex()
Returns the job vertices whose tasks are all finished when taking the checkpoint.
|
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.
|
List<Execution> |
getTasksToTrigger()
Returns the tasks who need to be sent a message when a checkpoint is started.
|
List<Execution> |
getTasksToWaitFor()
Returns tasks who need to acknowledge a checkpoint before it succeeds.
|
boolean |
mayHaveFinishedTasks()
Returns whether we support checkpoints after some tasks finished.
|
fulfillFinishedTaskStatus, reportTaskFinishedOnRestore, reportTaskHasFinishedOperators
List<Execution> getTasksToTrigger()
List<Execution> getTasksToWaitFor()
List<ExecutionVertex> getTasksToCommitTo()
List<Execution> getFinishedTasks()
@VisibleForTesting Collection<ExecutionJobVertex> getFullyFinishedJobVertex()
boolean mayHaveFinishedTasks()
Copyright © 2014–2023 The Apache Software Foundation. All rights reserved.