Uses of Interface
com.github.benmanes.caffeine.cache.AsyncCacheLoader
-
Packages that use AsyncCacheLoader Package Description com.github.benmanes.caffeine.cache This package contains caching utilities.com.github.benmanes.caffeine.guava com.github.benmanes.caffeine.jcache.integration -
-
Uses of AsyncCacheLoader in com.github.benmanes.caffeine.cache
Subinterfaces of AsyncCacheLoader in com.github.benmanes.caffeine.cache Modifier and Type Interface Description interface
CacheLoader<K,V>
Computes or retrieves values, based on a key, for use in populating aLoadingCache
orAsyncLoadingCache
.Classes in com.github.benmanes.caffeine.cache that implement AsyncCacheLoader Modifier and Type Class Description (package private) static class
BoundedLocalCache.BoundedLocalAsyncLoadingCache.AsyncLoader<K,V>
Fields in com.github.benmanes.caffeine.cache declared as AsyncCacheLoader Modifier and Type Field Description (package private) AsyncCacheLoader<? super K,V>
BoundedLocalCache.BoundedLocalAsyncLoadingCache.AsyncLoader. loader
(package private) AsyncCacheLoader<K,V>
LocalAsyncLoadingCache. loader
(package private) @Nullable AsyncCacheLoader<?,?>
SerializationProxy. loader
Methods in com.github.benmanes.caffeine.cache with parameters of type AsyncCacheLoader Modifier and Type Method Description <K1 extends K,V1 extends V>
@NonNull AsyncLoadingCache<K1,V1>Caffeine. buildAsync(@NonNull 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 AsyncCacheLoader Constructor Description AsyncLoader(AsyncCacheLoader<? super K,V> loader, Caffeine<?,?> builder)
BoundedLocalAsyncLoadingCache(Caffeine<K,V> builder, AsyncCacheLoader<? super K,V> loader)
LocalAsyncLoadingCache(AsyncCacheLoader<? super K,V> loader)
UnboundedLocalAsyncLoadingCache(Caffeine<K,V> builder, AsyncCacheLoader<? super K,V> loader)
-
Uses of AsyncCacheLoader in com.github.benmanes.caffeine.guava
Classes in com.github.benmanes.caffeine.guava that implement AsyncCacheLoader Modifier and Type Class Description (package private) static class
CaffeinatedGuavaLoadingCache.BulkLoader<K,V>
(package private) static class
CaffeinatedGuavaLoadingCache.SingleLoader<K,V>
-
Uses of AsyncCacheLoader in com.github.benmanes.caffeine.jcache.integration
Classes in com.github.benmanes.caffeine.jcache.integration that implement AsyncCacheLoader Modifier and Type Class Description class
JCacheLoaderAdapter<K,V>
An adapter from a JCache cache loader to Caffeine's.
-