Uses of Interface
com.github.benmanes.caffeine.cache.AsyncCacheLoader
Packages that use AsyncCacheLoader
-
Uses of AsyncCacheLoader in com.github.benmanes.caffeine.cache
Subinterfaces of AsyncCacheLoader in com.github.benmanes.caffeine.cacheModifier and TypeInterfaceDescriptioninterface
CacheLoader<K,
V> Computes or retrieves values, based on a key, for use in populating aLoadingCache
orAsyncLoadingCache
.Fields in com.github.benmanes.caffeine.cache declared as AsyncCacheLoaderModifier and TypeFieldDescription(package private) final AsyncCacheLoader<K,
V> LocalAsyncLoadingCache.loader
(package private) AsyncCacheLoader<?,
?> SerializationProxy.loader
Methods in com.github.benmanes.caffeine.cache with parameters of type AsyncCacheLoaderModifier and TypeMethodDescriptionprivate static <K,
V> CacheLoader<K, V> BoundedLocalCache.BoundedLocalAsyncLoadingCache.asyncLoader
(AsyncCacheLoader<? super K, V> loader, Caffeine<?, ?> builder) <K1 extends K,
V1 extends V>
AsyncLoadingCache<K1,V1> Caffeine.buildAsync
(AsyncCacheLoader<? super K1, V1> loader) Builds a cache, which either returns aCompletableFuture
already loaded or currently computing the value for a given key, or atomically computes the value asynchronously through a supplied mapping function or the suppliedAsyncCacheLoader
.private static boolean
LocalAsyncLoadingCache.canBulkLoad
(AsyncCacheLoader<?, ?> loader) Returns whether the supplied cache loader has bulk load functionality.Constructors in com.github.benmanes.caffeine.cache with parameters of type AsyncCacheLoaderModifierConstructorDescription(package private)
BoundedLocalAsyncLoadingCache
(Caffeine<K, V> builder, AsyncCacheLoader<? super K, V> loader) (package private)
LocalAsyncLoadingCache
(C cache, AsyncCacheLoader<? super K, V> loader) (package private)
UnboundedLocalAsyncLoadingCache
(Caffeine<K, V> builder, AsyncCacheLoader<? super K, V> loader)