Uses of Interface
com.github.benmanes.caffeine.cache.AsyncLoadingCache
Packages that use AsyncLoadingCache
-
Uses of AsyncLoadingCache in com.github.benmanes.caffeine.cache
Classes in com.github.benmanes.caffeine.cache that implement AsyncLoadingCacheModifier and TypeClassDescription(package private) static final class(package private) classThis class provides a skeletal implementation of theAsyncLoadingCacheinterface to minimize the effort required to implement aLocalCache.(package private) static final classMethods in com.github.benmanes.caffeine.cache that return AsyncLoadingCacheModifier and TypeMethodDescription<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.