Class DispatcherCachedOperationsHandler
- java.lang.Object
-
- org.apache.flink.runtime.dispatcher.DispatcherCachedOperationsHandler
-
public class DispatcherCachedOperationsHandler extends Object
A handler for async operations triggered by theDispatcher
whose keys and results are cached.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CompletableFuture<OperationResult<Long>>
getCheckpointStatus(AsynchronousJobOperationKey operationKey)
CompletableFuture<OperationResult<String>>
getSavepointStatus(AsynchronousJobOperationKey operationKey)
CompletableFuture<Acknowledge>
stopWithSavepoint(AsynchronousJobOperationKey operationKey, String targetDirectory, SavepointFormatType formatType, TriggerSavepointMode savepointMode, Duration timeout)
CompletableFuture<Acknowledge>
triggerCheckpoint(AsynchronousJobOperationKey operationKey, CheckpointType checkpointType, Duration timeout)
CompletableFuture<Acknowledge>
triggerSavepoint(AsynchronousJobOperationKey operationKey, String targetDirectory, SavepointFormatType formatType, TriggerSavepointMode savepointMode, Duration timeout)
-
-
-
Method Detail
-
triggerCheckpoint
public CompletableFuture<Acknowledge> triggerCheckpoint(AsynchronousJobOperationKey operationKey, CheckpointType checkpointType, Duration timeout)
-
getCheckpointStatus
public CompletableFuture<OperationResult<Long>> getCheckpointStatus(AsynchronousJobOperationKey operationKey)
-
triggerSavepoint
public CompletableFuture<Acknowledge> triggerSavepoint(AsynchronousJobOperationKey operationKey, String targetDirectory, SavepointFormatType formatType, TriggerSavepointMode savepointMode, Duration timeout)
-
stopWithSavepoint
public CompletableFuture<Acknowledge> stopWithSavepoint(AsynchronousJobOperationKey operationKey, String targetDirectory, SavepointFormatType formatType, TriggerSavepointMode savepointMode, Duration timeout)
-
getSavepointStatus
public CompletableFuture<OperationResult<String>> getSavepointStatus(AsynchronousJobOperationKey operationKey)
-
-