@FunctionalInterface public static interface CachedSupplier.PrefetchStrategy extends SdkAutoCloseable
RefreshResult.prefetchTime() arrives.OneCallerBlocks,
NonBlocking| Modifier and Type | Method and Description |
|---|---|
default void |
close()
Free any resources associated with the strategy.
|
void |
prefetch(Runnable valueUpdater)
Execute the provided value updater to update the cache.
|
void prefetch(Runnable valueUpdater)
default void close()
CachedSupplier.close() method is
invoked.close in interface AutoCloseableclose in interface SdkAutoCloseableCopyright © 2017 Amazon Web Services, Inc. All Rights Reserved.