Generated by
JDiff

Package com.google.common.cache

Added Classes
CacheBuilderSpec A specification of a CacheBuilder configuration.
 

Changed Classes and Interfaces
AbstractCache This class provides a skeletal implementation of the {@code Cache} interface to minimize the effort required to implement this interface.
Cache A semi-persistent mapping from keys to values.
CacheBuilder

A builder of 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 WeakReference weak references
  • values automatically wrapped in WeakReference weak or SoftReference soft references
  • notification of evicted (or otherwise removed) entries
  • accumulation of cache access statistics
These features are all optional; caches can be created using all or none of them.
ForwardingCache A cache which forwards all its method calls to another cache.