Uses of Interface
com.github.benmanes.caffeine.cache.AsyncCacheLoader
Packages that use AsyncCacheLoader
Package
Description
This package contains caching utilities.
-
Uses of AsyncCacheLoader in com.github.benmanes.caffeine.cache
Subinterfaces of AsyncCacheLoader in com.github.benmanes.caffeine.cacheModifier and TypeInterfaceDescriptioninterfaceCacheLoader<K,V> Computes or retrieves values, based on a key, for use in populating aLoadingCacheorAsyncLoadingCache.Methods in com.github.benmanes.caffeine.cache with parameters of type AsyncCacheLoaderModifier 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. -
Uses of AsyncCacheLoader in com.github.benmanes.caffeine.jcache.integration
Classes in com.github.benmanes.caffeine.jcache.integration that implement AsyncCacheLoaderModifier and TypeClassDescriptionfinal classJCacheLoaderAdapter<K,V> An adapter from a JCache cache loader to Caffeine's.