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