Uses of Class
software.amazon.awssdk.utils.cache.CachedSupplier.Builder
Packages that use CachedSupplier.Builder
-
Uses of CachedSupplier.Builder in software.amazon.awssdk.utils.cache
Methods in software.amazon.awssdk.utils.cache that return CachedSupplier.BuilderModifier and TypeMethodDescriptionstatic <T> CachedSupplier.Builder<T>CachedSupplier.builder(Supplier<RefreshResult<T>> valueSupplier) Retrieve a builder that can be used for creating aCachedSupplier.CachedSupplier.Builder.cachedValueName(String cachedValueName) Configures a name for the cached value.Configure the clock used for this cached supplier.CachedSupplier.Builder.prefetchStrategy(CachedSupplier.PrefetchStrategy prefetchStrategy) Configure the way in which data in the cache should be pre-fetched when the data'sRefreshResult.prefetchTime()arrives.CachedSupplier.Builder.staleValueBehavior(CachedSupplier.StaleValueBehavior staleValueBehavior) Configure the way the cache should behave when a stale value is retrieved or when retrieving a value fails while the cache is stale.