Class UnboundedLocalCache.UnboundedLocalAsyncLoadingCache<K,V>
java.lang.Object
com.github.benmanes.caffeine.cache.LocalAsyncLoadingCache<UnboundedLocalCache<K,CompletableFuture<V>>,K,V>
com.github.benmanes.caffeine.cache.UnboundedLocalCache.UnboundedLocalAsyncLoadingCache<K,V>
- All Implemented Interfaces:
AsyncLoadingCache<K,
,V> Serializable
- Enclosing class:
- UnboundedLocalCache<K,
V>
static final class UnboundedLocalCache.UnboundedLocalAsyncLoadingCache<K,V>
extends LocalAsyncLoadingCache<UnboundedLocalCache<K,CompletableFuture<V>>,K,V>
implements Serializable
-
Nested Class Summary
Nested classes/interfaces inherited from class com.github.benmanes.caffeine.cache.LocalAsyncLoadingCache
LocalAsyncLoadingCache.AsMapView<K,
V>, LocalAsyncLoadingCache.LoadingCacheView -
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final long
Fields inherited from class com.github.benmanes.caffeine.cache.LocalAsyncLoadingCache
cache, canBulkLoad, loader, localCacheView, logger
-
Constructor Summary
ConstructorsConstructorDescriptionUnboundedLocalAsyncLoadingCache
(Caffeine<K, V> builder, AsyncCacheLoader<? super K, V> loader) -
Method Summary
Modifier and TypeMethodDescriptionpolicy()
Returns the policy supported by this implementation and its configuration.private void
readObject
(ObjectInputStream stream) (package private) Object
Methods inherited from class com.github.benmanes.caffeine.cache.LocalAsyncLoadingCache
get, get, get, get, getAll, getIfPresent, put, synchronous
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
policy
-
-
Constructor Details
-
UnboundedLocalAsyncLoadingCache
-
-
Method Details
-
policy
Description copied from class:LocalAsyncLoadingCache
Returns the policy supported by this implementation and its configuration.- Specified by:
policy
in classLocalAsyncLoadingCache<UnboundedLocalCache<K,
CompletableFuture<V>>, K, V>
-
readObject
- Throws:
InvalidObjectException
-
writeReplace
Object writeReplace()
-