| Interface | Description |
|---|---|
| CachedSupplier.PrefetchStrategy |
The way in which the cache should be pre-fetched when the data's
RefreshResult.prefetchTime() arrives. |
| Class | Description |
|---|---|
| CachedSupplier<T> |
A wrapper for a
Supplier that applies certain caching rules to the retrieval of its value, including customizable
pre-fetching behaviors for updating values as they get close to expiring so that not all threads have to block to update the
value. |
| CachedSupplier.Builder<T> |
A Builder for
CachedSupplier, created by CachedSupplier.builder(Supplier). |
| NonBlocking |
A
CachedSupplier.PrefetchStrategy that will run a single thread in the background to update the value. |
| OneCallerBlocks |
A
CachedSupplier.PrefetchStrategy that will have one caller at a time block to update the value. |
| RefreshResult<T> |
A wrapper for the value returned by the
Supplier underlying a CachedSupplier. |
| RefreshResult.Builder<T> |
A builder for a
RefreshResult. |
Copyright © 2017 Amazon Web Services, Inc. All Rights Reserved.