Uses of Interface
com.github.benmanes.caffeine.cache.LoadingCache
-
Packages that use LoadingCache Package Description com.github.benmanes.caffeine.cache This package contains caching utilities.com.github.benmanes.caffeine.guava com.github.benmanes.caffeine.jcache -
-
Uses of LoadingCache in com.github.benmanes.caffeine.cache
Subinterfaces of LoadingCache in com.github.benmanes.caffeine.cache Modifier and Type Interface Description (package private) interface
LocalLoadingCache<K,V>
This class provides a skeletal implementation of theLoadingCache
interface to minimize the effort required to implement aLocalCache
.Classes in com.github.benmanes.caffeine.cache that implement LoadingCache Modifier and Type Class Description (package private) static class
BoundedLocalCache.BoundedLocalLoadingCache<K,V>
(package private) static class
LocalAsyncLoadingCache.LoadingCacheView<K,V>
(package private) static class
UnboundedLocalCache.UnboundedLocalLoadingCache<K,V>
Methods in com.github.benmanes.caffeine.cache that return LoadingCache Modifier and Type Method Description <K1 extends K,V1 extends V>
@NonNull LoadingCache<K1,V1>Caffeine. build(@NonNull CacheLoader<? super K1,V1> loader)
Builds a cache, which either returns an already-loaded value for a given key or atomically computes or retrieves it using the suppliedCacheLoader
.@NonNull LoadingCache<K,V>
AsyncLoadingCache. synchronous()
Returns a view of the entries stored in this cache as a synchronousLoadingCache
.LoadingCache<K,V>
LocalAsyncLoadingCache. synchronous()
-
Uses of LoadingCache in com.github.benmanes.caffeine.guava
Fields in com.github.benmanes.caffeine.guava declared as LoadingCache Modifier and Type Field Description private LoadingCache<K,V>
CaffeinatedGuavaLoadingCache. cache
Constructors in com.github.benmanes.caffeine.guava with parameters of type LoadingCache Constructor Description CaffeinatedGuavaLoadingCache(LoadingCache<K,V> cache)
-
Uses of LoadingCache in com.github.benmanes.caffeine.jcache
Fields in com.github.benmanes.caffeine.jcache declared as LoadingCache Modifier and Type Field Description (package private) LoadingCache<K,Expirable<V>>
LoadingCacheProxy. cache
Constructors in com.github.benmanes.caffeine.jcache with parameters of type LoadingCache Constructor Description LoadingCacheProxy(java.lang.String name, java.util.concurrent.Executor executor, javax.cache.CacheManager cacheManager, CaffeineConfiguration<K,V> configuration, LoadingCache<K,Expirable<V>> cache, EventDispatcher<K,V> dispatcher, javax.cache.integration.CacheLoader<K,V> cacheLoader, javax.cache.expiry.ExpiryPolicy expiry, Ticker ticker, JCacheStatisticsMXBean statistics)
-