Cache interface to minimize the
effort required to implement this interface.AbstractCache.StatsCounter implementation for use by Cache implementors.Cache for presentation by Cache.stats().Cache interface to minimize the
effort required to implement this interface.Function interface; use LoadingCache.get(K) or
LoadingCache.getUnchecked(K) instead.RemovalListener which processes all eviction
notifications using executor.CacheLoader.LoadingCache and Cache instances having any combination of the
following features:
automatic loading of entries into the cache
least-recently-used eviction when a maximum size is exceeded
time-based expiration of entries, measured since last access or last write
keys automatically wrapped in weak references
values automatically wrapped in weak or
soft references
notification of evicted (or otherwise removed) entries
accumulation of cache access statistics
CacheBuilder configuration.LoadingCache.CacheLoader.Cache.CacheStats instance.ForwardingCache where subclasses can pass in an already
constructed Cache as the delegete.ForwardingLoadingCache where subclasses can pass in an already
constructed LoadingCache as the delegete.CacheBuilder instance with the settings specified in spec.CacheBuilder instance with the settings specified in spec.key in this cache, obtaining that value from
valueLoader if necessary.key in this cache, first loading that value if
necessary.keys, creating or retrieving those values
if necessary.getAllPresent lacks any insight into the internal cache data
structure, and is thus forced to return the query keys instead of the cached keys.keys in this cache.key in this cache, or null if there is no
cached value for key.key in this cache, first loading that value if
necessary.Cache lookup methods have returned a cached value.other.key.keys.key.keys.Cache lookup methods attempted to load new
values.Cache lookup methods threw an exception while loading a
new value.Cache lookup methods have successfully loaded a new value.CacheStats representing the difference between this CacheStats
and other.Cache lookup methods have returned an uncached (newly
loaded) value, or null.CacheBuilder instance with default settings, including strong keys,
strong values, and no automatic eviction of any kind.CacheStats representing the sum of this CacheStats
and other.value with key in this cache.CacheStats during the operation of the cache.key, possibly asynchronously.key.Cache lookup methods have returned either a cached or
uncached value.SoftReference (by default, strong references are used).CacheBuilderSpec.{key}={value}.true if there was an automatic removal due to eviction (the cause is neither
RemovalCause.EXPLICIT nor RemovalCause.REPLACED).WeakReference (by default, strong references are used).WeakReference (by default, strong references are used).