Uses of Interface
com.github.benmanes.caffeine.cache.AsyncLoadingCache
-
Packages that use AsyncLoadingCache Package Description com.github.benmanes.caffeine.cache This package contains caching utilities. -
-
Uses of AsyncLoadingCache in com.github.benmanes.caffeine.cache
Classes in com.github.benmanes.caffeine.cache that implement AsyncLoadingCache Modifier and Type Class Description (package private) static class
BoundedLocalCache.BoundedLocalAsyncLoadingCache<K,V>
(package private) class
LocalAsyncLoadingCache<C extends LocalCache<K,java.util.concurrent.CompletableFuture<V>>,K,V>
This class provides a skeletal implementation of theAsyncLoadingCache
interface to minimize the effort required to implement aLocalCache
.(package private) static class
UnboundedLocalCache.UnboundedLocalAsyncLoadingCache<K,V>
Methods in com.github.benmanes.caffeine.cache that return AsyncLoadingCache Modifier and Type Method Description <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
.<K1 extends K,V1 extends V>
AsyncLoadingCache<K1,V1>Caffeine. buildAsync(CacheLoader<? 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 suppliedCacheLoader
.
-