Class DispatcherCachedOperationsHandler
java.lang.Object
org.apache.flink.runtime.dispatcher.DispatcherCachedOperationsHandler
A handler for async operations triggered by the
Dispatcher whose keys and results are
cached.-
Method Summary
Modifier and TypeMethodDescriptiongetCheckpointStatus(AsynchronousJobOperationKey operationKey) getSavepointStatus(AsynchronousJobOperationKey operationKey) stopWithSavepoint(AsynchronousJobOperationKey operationKey, String targetDirectory, org.apache.flink.core.execution.SavepointFormatType formatType, TriggerSavepointMode savepointMode, Duration timeout) triggerCheckpoint(AsynchronousJobOperationKey operationKey, org.apache.flink.core.execution.CheckpointType checkpointType, Duration timeout) triggerSavepoint(AsynchronousJobOperationKey operationKey, String targetDirectory, org.apache.flink.core.execution.SavepointFormatType formatType, TriggerSavepointMode savepointMode, Duration timeout)
-
Method Details
-
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)
-