public class DispatcherOperationCaches extends Object implements org.apache.flink.util.AutoCloseableAsync
Dispatcher.| Constructor and Description |
|---|
DispatcherOperationCaches() |
DispatcherOperationCaches(java.time.Duration cacheDuration) |
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<Void> |
closeAsync() |
CompletedOperationCache<AsynchronousJobOperationKey,Long> |
getCheckpointTriggerCache() |
CompletedOperationCache<AsynchronousJobOperationKey,String> |
getSavepointTriggerCache() |
@VisibleForTesting public DispatcherOperationCaches()
@VisibleForTesting public DispatcherOperationCaches(java.time.Duration cacheDuration)
public CompletedOperationCache<AsynchronousJobOperationKey,String> getSavepointTriggerCache()
public CompletedOperationCache<AsynchronousJobOperationKey,Long> getCheckpointTriggerCache()
public CompletableFuture<Void> closeAsync()
closeAsync in interface org.apache.flink.util.AutoCloseableAsyncCopyright © 2014–2024 The Apache Software Foundation. All rights reserved.