Class DispatcherCachedOperationsHandler
- java.lang.Object
-
- org.apache.flink.runtime.dispatcher.DispatcherCachedOperationsHandler
-
public class DispatcherCachedOperationsHandler extends Object
A handler for async operations triggered by theDispatcherwhose 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, org.apache.flink.core.execution.SavepointFormatType formatType, TriggerSavepointMode savepointMode, Duration timeout)CompletableFuture<Acknowledge>triggerCheckpoint(AsynchronousJobOperationKey operationKey, org.apache.flink.core.execution.CheckpointType checkpointType, Duration timeout)CompletableFuture<Acknowledge>triggerSavepoint(AsynchronousJobOperationKey operationKey, String targetDirectory, org.apache.flink.core.execution.SavepointFormatType formatType, TriggerSavepointMode savepointMode, Duration timeout)
-
-
-
Method Detail
-
triggerCheckpoint
public CompletableFuture<Acknowledge> triggerCheckpoint(AsynchronousJobOperationKey operationKey, org.apache.flink.core.execution.CheckpointType checkpointType, Duration timeout)
-
getCheckpointStatus
public CompletableFuture<OperationResult<Long>> getCheckpointStatus(AsynchronousJobOperationKey operationKey)
-
triggerSavepoint
public CompletableFuture<Acknowledge> triggerSavepoint(AsynchronousJobOperationKey operationKey, String targetDirectory, org.apache.flink.core.execution.SavepointFormatType formatType, TriggerSavepointMode savepointMode, Duration timeout)
-
stopWithSavepoint
public CompletableFuture<Acknowledge> stopWithSavepoint(AsynchronousJobOperationKey operationKey, String targetDirectory, org.apache.flink.core.execution.SavepointFormatType formatType, TriggerSavepointMode savepointMode, Duration timeout)
-
getSavepointStatus
public CompletableFuture<OperationResult<String>> getSavepointStatus(AsynchronousJobOperationKey operationKey)
-
-