Interface FinishedTaskStateProvider
-
- All Known Subinterfaces:
CheckpointPlan
- All Known Implementing Classes:
DefaultCheckpointPlan
public interface FinishedTaskStateProviderCollects and fulfills the finished state for the subtasks or operators.
-
-
Nested Class Summary
Nested Classes Modifier and Type Interface Description static classFinishedTaskStateProvider.PartialFinishingNotSupportedByStateExceptionThrown when some subtasks of the operator have been finished but state doesn't support that (e.g.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidfulfillFinishedTaskStatus(Map<OperatorID,OperatorState> operatorStates)Fulfills the state for the finished subtasks and operators to indicate they are finished.voidreportTaskFinishedOnRestore(ExecutionVertex task)Reports thetaskis finished on restoring.voidreportTaskHasFinishedOperators(ExecutionVertex task)Reports thetaskhas finished all the operators.
-
-
-
Method Detail
-
reportTaskFinishedOnRestore
void reportTaskFinishedOnRestore(ExecutionVertex task)
Reports thetaskis finished on restoring.
-
reportTaskHasFinishedOperators
void reportTaskHasFinishedOperators(ExecutionVertex task)
Reports thetaskhas finished all the operators.
-
fulfillFinishedTaskStatus
void fulfillFinishedTaskStatus(Map<OperatorID,OperatorState> operatorStates) throws FinishedTaskStateProvider.PartialFinishingNotSupportedByStateException
Fulfills the state for the finished subtasks and operators to indicate they are finished.
-
-