public static interface StateTransitions.ToStopWithSavepoint extends StateTransitions
StopWithSavepoint
state.StateTransitions.ToCancelling, StateTransitions.ToCreatingExecutionGraph, StateTransitions.ToExecuting, StateTransitions.ToFailing, StateTransitions.ToFinished, StateTransitions.ToRestarting, StateTransitions.ToStopWithSavepoint, StateTransitions.ToWaitingForResources
Modifier and Type | Method and Description |
---|---|
CompletableFuture<String> |
goToStopWithSavepoint(ExecutionGraph executionGraph,
ExecutionGraphHandler executionGraphHandler,
OperatorCoordinatorHandler operatorCoordinatorHandler,
CheckpointScheduling checkpointScheduling,
CompletableFuture<String> savepointFuture,
List<ExceptionHistoryEntry> failureCollection)
Transitions into the
StopWithSavepoint state. |
CompletableFuture<String> goToStopWithSavepoint(ExecutionGraph executionGraph, ExecutionGraphHandler executionGraphHandler, OperatorCoordinatorHandler operatorCoordinatorHandler, CheckpointScheduling checkpointScheduling, CompletableFuture<String> savepointFuture, List<ExceptionHistoryEntry> failureCollection)
StopWithSavepoint
state.executionGraph
- executionGraph to pass to the StopWithSavepoint
stateexecutionGraphHandler
- executionGraphHandler to pass to the StopWithSavepoint
stateoperatorCoordinatorHandler
- operatorCoordinatorHandler to pass to the StopWithSavepoint
statesavepointFuture
- Future for the savepoint to complete.failureCollection
- collection of failures that are propagatedCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.