Interface StateTransitions.ToRestarting
-
- All Superinterfaces:
StateTransitions
- All Known Implementing Classes:
AdaptiveScheduler
- Enclosing interface:
- StateTransitions
public static interface StateTransitions.ToRestarting extends StateTransitions
Interface covering transition to theRestartingstate.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.apache.flink.runtime.scheduler.adaptive.StateTransitions
StateTransitions.ToCancelling, StateTransitions.ToCreatingExecutionGraph, StateTransitions.ToExecuting, StateTransitions.ToFailing, StateTransitions.ToFinished, StateTransitions.ToRestarting, StateTransitions.ToStopWithSavepoint, StateTransitions.ToWaitingForResources
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidgoToRestarting(ExecutionGraph executionGraph, ExecutionGraphHandler executionGraphHandler, OperatorCoordinatorHandler operatorCoordinatorHandler, Duration backoffTime, VertexParallelism restartWithParallelism, List<ExceptionHistoryEntry> failureCollection)Transitions into theRestartingstate.
-
-
-
Method Detail
-
goToRestarting
void goToRestarting(ExecutionGraph executionGraph, ExecutionGraphHandler executionGraphHandler, OperatorCoordinatorHandler operatorCoordinatorHandler, Duration backoffTime, @Nullable VertexParallelism restartWithParallelism, List<ExceptionHistoryEntry> failureCollection)
Transitions into theRestartingstate.- Parameters:
executionGraph- executionGraph to pass to theRestartingstateexecutionGraphHandler- executionGraphHandler to pass to theRestartingstateoperatorCoordinatorHandler- operatorCoordinatorHandler to pas to theRestartingstatebackoffTime- backoffTime to wait before transitioning to theRestartingstaterestartWithParallelism- theVertexParallelismthat triggered the restarting. TheAdaptiveSchedulershould transition directly toCreatingExecutionGraphif the available parallelism hasn't changed while cancelling the job. Ifnullis passed or the parallelism changed,WaitingForResourcesstate should be the subsequent state.failureCollection- collection of failures that are propagated
-
-