Interface FinishedTaskStateProvider
- All Known Subinterfaces:
CheckpointPlan
- All Known Implementing Classes:
DefaultCheckpointPlan
public interface FinishedTaskStateProvider
Collects and fulfills the finished state for the subtasks or operators.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic classThrown when some subtasks of the operator have been finished but state doesn't support that (e.g. -
Method Summary
Modifier and TypeMethodDescriptionvoidfulfillFinishedTaskStatus(Map<OperatorID, OperatorState> operatorStates) Fulfills the state for the finished subtasks and operators to indicate they are finished.voidReports thetaskis finished on restoring.voidReports thetaskhas finished all the operators.
-
Method Details
-
reportTaskFinishedOnRestore
Reports thetaskis finished on restoring. -
reportTaskHasFinishedOperators
Reports thetaskhas finished all the operators. -
fulfillFinishedTaskStatus
void fulfillFinishedTaskStatus(Map<OperatorID, OperatorState> operatorStates) throws FinishedTaskStateProvider.PartialFinishingNotSupportedByStateExceptionFulfills the state for the finished subtasks and operators to indicate they are finished.
-