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 classBoundedLocalCache.BoundedLocalAsyncLoadingCache<K,V>(package private) classLocalAsyncLoadingCache<K,V>This class provides a skeletal implementation of theAsyncLoadingCacheinterface to minimize the effort required to implement aLocalCache.(package private) static classUnboundedLocalCache.UnboundedLocalAsyncLoadingCache<K,V>Methods in com.github.benmanes.caffeine.cache that return AsyncLoadingCache 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 aCompletableFuturealready 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>
@NonNull AsyncLoadingCache<K1,V1>Caffeine. buildAsync(@NonNull CacheLoader<? super K1,V1> loader)Builds a cache, which either returns aCompletableFuturealready loaded or currently computing the value for a given key, or atomically computes the value asynchronously through a supplied mapping function or the suppliedCacheLoader.
-