Uses of Interface
com.google.common.cache.Cache
-
Packages that use Cache Package Description com.google.common.cache Discouraged (in favor of Caffeine) caching utilities. -
-
Uses of Cache in com.google.common.cache
Subinterfaces of Cache in com.google.common.cache Modifier and Type Interface Description interface
LoadingCache<K,V>
A semi-persistent mapping from keys to values.Classes in com.google.common.cache that implement Cache Modifier and Type Class Description class
AbstractCache<K,V>
This class provides a skeletal implementation of theCache
interface to minimize the effort required to implement this interface.class
AbstractLoadingCache<K,V>
This class provides a skeletal implementation of theCache
interface to minimize the effort required to implement this interface.class
ForwardingCache<K,V>
A cache which forwards all its method calls to another cache.static class
ForwardingCache.SimpleForwardingCache<K,V>
A simplified version ofForwardingCache
where subclasses can pass in an already constructedCache
as the delegate.class
ForwardingLoadingCache<K,V>
A cache which forwards all its method calls to another cache.static class
ForwardingLoadingCache.SimpleForwardingLoadingCache<K,V>
A simplified version ofForwardingLoadingCache
where subclasses can pass in an already constructedLoadingCache
as the delegate.Methods in com.google.common.cache that return Cache Modifier and Type Method Description <K1 extends K,V1 extends V>
Cache<K1,V1>CacheBuilder. build()
Builds a cache which does not automatically load values when keys are requested.protected abstract Cache<K,V>
ForwardingCache. delegate()
protected Cache<K,V>
ForwardingCache.SimpleForwardingCache. delegate()
Constructors in com.google.common.cache with parameters of type Cache Constructor Description SimpleForwardingCache(Cache<K,V> delegate)
-