Uses of Interface
com.github.benmanes.caffeine.cache.Cache
-
Packages that use Cache Package Description com.github.benmanes.caffeine.cache This package contains caching utilities.com.github.benmanes.caffeine.guava com.github.benmanes.caffeine.jcache -
-
Uses of Cache in com.github.benmanes.caffeine.cache
Subinterfaces of Cache in com.github.benmanes.caffeine.cache Modifier and Type Interface Description interface
LoadingCache<K,V>
A semi-persistent mapping from keys to values.(package private) interface
LocalLoadingCache<K,V>
This class provides a skeletal implementation of theLoadingCache
interface to minimize the effort required to implement aLocalCache
.(package private) interface
LocalManualCache<K,V>
This class provides a skeletal implementation of theCache
interface to minimize the effort required to implement aLocalCache
.Classes in com.github.benmanes.caffeine.cache that implement Cache Modifier and Type Class Description (package private) static class
BoundedLocalCache.BoundedLocalLoadingCache<K,V>
(package private) static class
BoundedLocalCache.BoundedLocalManualCache<K,V>
static class
LocalAsyncCache.AbstractCacheView<K,V>
static class
LocalAsyncCache.CacheView<K,V>
(package private) static class
LocalAsyncLoadingCache.LoadingCacheView<K,V>
(package private) static class
UnboundedLocalCache.UnboundedLocalLoadingCache<K,V>
(package private) static class
UnboundedLocalCache.UnboundedLocalManualCache<K,V>
Methods in com.github.benmanes.caffeine.cache that return Cache Modifier and Type Method Description <K1 extends K,V1 extends V>
@NonNull Cache<K1,V1>Caffeine. build()
Builds a cache which does not automatically load values when keys are requested unless a mapping function is provided.@NonNull Cache<K,V>
AsyncCache. synchronous()
Returns a view of the entries stored in this cache as a synchronousCache
.Cache<K,V>
BoundedLocalCache.BoundedLocalAsyncCache. synchronous()
Cache<K,V>
UnboundedLocalCache.UnboundedLocalAsyncCache. synchronous()
-
Uses of Cache in com.github.benmanes.caffeine.guava
Fields in com.github.benmanes.caffeine.guava declared as Cache Modifier and Type Field Description (package private) Cache<K,V>
CaffeinatedGuavaCache. cache
Constructors in com.github.benmanes.caffeine.guava with parameters of type Cache Constructor Description CaffeinatedGuavaCache(Cache<K,V> cache)
-
Uses of Cache in com.github.benmanes.caffeine.jcache
Fields in com.github.benmanes.caffeine.jcache declared as Cache Modifier and Type Field Description (package private) Cache<K,Expirable<V>>
CacheProxy. cache
Constructors in com.github.benmanes.caffeine.jcache with parameters of type Cache Constructor Description CacheProxy(java.lang.String name, java.util.concurrent.Executor executor, javax.cache.CacheManager cacheManager, CaffeineConfiguration<K,V> configuration, Cache<K,Expirable<V>> cache, EventDispatcher<K,V> dispatcher, java.util.Optional<javax.cache.integration.CacheLoader<K,V>> cacheLoader, javax.cache.expiry.ExpiryPolicy expiry, Ticker ticker, JCacheStatisticsMXBean statistics)
-