Package | Description |
---|---|
software.amazon.awssdk.utils.cache |
Modifier and Type | Class and Description |
---|---|
class |
NonBlocking
A
CachedSupplier.PrefetchStrategy that will run a single thread in the background to update the value. |
class |
OneCallerBlocks
A
CachedSupplier.PrefetchStrategy that will have one caller at a time block to update the value. |
Modifier and Type | Method and Description |
---|---|
CachedSupplier.Builder<T> |
CachedSupplier.Builder.prefetchStrategy(CachedSupplier.PrefetchStrategy prefetchStrategy)
Configure the way in which data in the cache should be pre-fetched when the data's
RefreshResult.prefetchTime()
arrives. |
Copyright © 2021. All rights reserved.