Package org.docx4j.com.google.common.cache
package org.docx4j.com.google.common.cache
-
ClassDescriptionAbstractCache<K,
V> This class provides a skeletal implementation of theCache
interface to minimize the effort required to implement this interface.A thread-safeAbstractCache.StatsCounter
implementation for use byCache
implementors.Accumulates statistics during the operation of aCache
for presentation byCache.stats()
.Cache<K,V> A semi-persistent mapping from keys to values.CacheBuilder<K,V> A builder ofLoadingCache
andCache
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 statisticsCacheLoader<K,V> Computes or retrieves values, based on a key, for use in populating aLoadingCache
.Thrown to indicate that an invalid response was returned from a call toCacheLoader
.Exception thrown byloadAll()
to indicate that it is not supported.Statistics about the performance of aCache
.LoadingCache<K,V> A semi-persistent mapping from keys to values.The reason why a cached entry was removed.RemovalListener<K,V> An object that can receive a notification when an entry is removed from a cache.RemovalNotification<K,V> A notification of the removal of a single entry.Weigher<K,V> Calculates the weights of cache entries.