Package | Description |
---|---|
com.google.common.cache |
This package contains caching utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
AbstractCache<K,V>
This class provides a skeletal implementation of the
Cache interface to minimize the
effort required to implement this interface. |
class |
AbstractLoadingCache<K,V>
This class provides a skeletal implementation of the
Cache interface to minimize the
effort required to implement this interface. |
interface |
Cache<K,V>
A semi-persistent mapping from keys to values.
|
class |
CacheBuilder<K,V>
A builder of
LoadingCache and Cache instances. |
class |
CacheBuilderSpec
A specification of a
CacheBuilder configuration. |
class |
CacheLoader<K,V>
Computes or retrieves values, based on a key, for use in populating a
LoadingCache . |
class |
CacheStats
Statistics about the performance of a
Cache . |
class |
ForwardingCache<K,V>
A cache which forwards all its method calls to another cache.
|
class |
ForwardingLoadingCache<K,V>
A cache which forwards all its method calls to another cache.
|
interface |
LoadingCache<K,V>
A semi-persistent mapping from keys to values.
|
(package private) interface |
LongAddable
Abstract interface for objects that can concurrently add longs.
|
(package private) class |
LongAddables
Source of
LongAddable objects that deals with GWT, Unsafe, and all that. |
(package private) class |
LongAdder
One or more variables that together maintain an initially zero
long sum. |
(package private) interface |
ReferenceEntry<K,V>
An entry in a reference map.
|
class |
RemovalCause
The reason why a cached entry was removed.
|
interface |
RemovalListener<K,V>
An object that can receive a notification when an entry is removed from a cache.
|
class |
RemovalListeners
A collection of common removal listeners.
|
class |
RemovalNotification<K,V>
A notification of the removal of a single entry.
|
(package private) class |
Striped64
A package-local class holding common representation and mechanics for classes supporting dynamic
striping on 64bit values.
|
interface |
Weigher<K,V>
Calculates the weights of cache entries.
|