Uses of Interface
com.github.benmanes.caffeine.cache.AsyncLoadingCache
Packages that use AsyncLoadingCache
Package
Description
This package contains in-memory caching functionality.
-
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 @Nullable V>
AsyncLoadingCache<K1, V1> Caffeine.buildAsync(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 @Nullable V>
AsyncLoadingCache<K1, V1> Caffeine.buildAsync(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.