Uses of Interface
com.github.benmanes.caffeine.cache.AsyncLoadingCache
Packages that use AsyncLoadingCache
-
Uses of AsyncLoadingCache in com.github.benmanes.caffeine.cache
Methods 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.