public class DispatcherCachedOperationsHandler extends Object
Dispatcher
whose keys and results are
cached.Modifier and Type | Method and Description |
---|---|
CompletableFuture<OperationResult<Long>> |
getCheckpointStatus(AsynchronousJobOperationKey operationKey) |
CompletableFuture<OperationResult<String>> |
getSavepointStatus(AsynchronousJobOperationKey operationKey) |
CompletableFuture<Acknowledge> |
stopWithSavepoint(AsynchronousJobOperationKey operationKey,
String targetDirectory,
SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
Time timeout) |
CompletableFuture<Acknowledge> |
triggerCheckpoint(AsynchronousJobOperationKey operationKey,
CheckpointType checkpointType,
Time timeout) |
CompletableFuture<Acknowledge> |
triggerSavepoint(AsynchronousJobOperationKey operationKey,
String targetDirectory,
SavepointFormatType formatType,
TriggerSavepointMode savepointMode,
Time timeout) |
public CompletableFuture<Acknowledge> triggerCheckpoint(AsynchronousJobOperationKey operationKey, CheckpointType checkpointType, Time timeout)
public CompletableFuture<OperationResult<Long>> getCheckpointStatus(AsynchronousJobOperationKey operationKey)
public CompletableFuture<Acknowledge> triggerSavepoint(AsynchronousJobOperationKey operationKey, String targetDirectory, SavepointFormatType formatType, TriggerSavepointMode savepointMode, Time timeout)
public CompletableFuture<Acknowledge> stopWithSavepoint(AsynchronousJobOperationKey operationKey, String targetDirectory, SavepointFormatType formatType, TriggerSavepointMode savepointMode, Time timeout)
public CompletableFuture<OperationResult<String>> getSavepointStatus(AsynchronousJobOperationKey operationKey)
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.