AutoCloseable
NonBlocking
, OneCallerBlocks
@FunctionalInterface public static interface CachedSupplier.PrefetchStrategy extends AutoCloseable
RefreshResult.prefetchTime()
arrives.OneCallerBlocks
,
NonBlocking
Modifier and Type | Method | 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 AutoCloseable
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.