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 theRestarting
state.
-
-
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 void
goToRestarting(ExecutionGraph executionGraph, ExecutionGraphHandler executionGraphHandler, OperatorCoordinatorHandler operatorCoordinatorHandler, Duration backoffTime, boolean forcedRestart, List<ExceptionHistoryEntry> failureCollection)
Transitions into theRestarting
state.
-
-
-
Method Detail
-
goToRestarting
void goToRestarting(ExecutionGraph executionGraph, ExecutionGraphHandler executionGraphHandler, OperatorCoordinatorHandler operatorCoordinatorHandler, Duration backoffTime, boolean forcedRestart, List<ExceptionHistoryEntry> failureCollection)
Transitions into theRestarting
state.- Parameters:
executionGraph
- executionGraph to pass to theRestarting
stateexecutionGraphHandler
- executionGraphHandler to pass to theRestarting
stateoperatorCoordinatorHandler
- operatorCoordinatorHandler to pas to theRestarting
statebackoffTime
- backoffTime to wait before transitioning to theRestarting
stateforcedRestart
- if theWaitingForResources
state should be omitted and theCreatingExecutionGraph
state should be entered directly from theRestarting
statefailureCollection
- collection of failures that are propagated
-
-