public class DispatcherOperationCaches extends Object implements AutoCloseableAsync
Dispatcher
.Constructor and Description |
---|
DispatcherOperationCaches() |
DispatcherOperationCaches(java.time.Duration cacheDuration) |
Modifier and Type | Method and Description |
---|---|
CompletableFuture<Void> |
closeAsync()
Trigger the closing of the resource and return the corresponding close future.
|
CompletedOperationCache<AsynchronousJobOperationKey,Long> |
getCheckpointTriggerCache() |
CompletedOperationCache<AsynchronousJobOperationKey,String> |
getSavepointTriggerCache() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
close
@VisibleForTesting public DispatcherOperationCaches()
@VisibleForTesting public DispatcherOperationCaches(java.time.Duration cacheDuration)
public CompletedOperationCache<AsynchronousJobOperationKey,String> getSavepointTriggerCache()
public CompletedOperationCache<AsynchronousJobOperationKey,Long> getCheckpointTriggerCache()
public CompletableFuture<Void> closeAsync()
AutoCloseableAsync
closeAsync
in interface AutoCloseableAsync
Copyright © 2014–2024 The Apache Software Foundation. All rights reserved.