Interface StateTransitions.ToStopWithSavepoint
- All Superinterfaces:
StateTransitions
- All Known Implementing Classes:
AdaptiveScheduler
- Enclosing interface:
- StateTransitions
Interface covering transition to the
StopWithSavepoint 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
Modifier and TypeMethodDescriptiongoToStopWithSavepoint(ExecutionGraph executionGraph, ExecutionGraphHandler executionGraphHandler, OperatorCoordinatorHandler operatorCoordinatorHandler, CheckpointScheduling checkpointScheduling, CompletableFuture<String> savepointFuture, List<ExceptionHistoryEntry> failureCollection) Transitions into theStopWithSavepointstate.
-
Method Details
-
goToStopWithSavepoint
CompletableFuture<String> goToStopWithSavepoint(ExecutionGraph executionGraph, ExecutionGraphHandler executionGraphHandler, OperatorCoordinatorHandler operatorCoordinatorHandler, CheckpointScheduling checkpointScheduling, CompletableFuture<String> savepointFuture, List<ExceptionHistoryEntry> failureCollection) Transitions into theStopWithSavepointstate.- Parameters:
executionGraph- executionGraph to pass to theStopWithSavepointstateexecutionGraphHandler- executionGraphHandler to pass to theStopWithSavepointstateoperatorCoordinatorHandler- operatorCoordinatorHandler to pass to theStopWithSavepointstatesavepointFuture- Future for the savepoint to complete.failureCollection- collection of failures that are propagated- Returns:
- Location of the savepoint.
-