Package | Description |
---|---|
com.google.common.cache |
This package contains caching utilities.
|
com.google.common.eventbus |
The EventBus allows publish-subscribe-style communication between components without requiring
the components to explicitly register with one another (and thus be aware of each other).
|
Class and Description |
---|
AbstractCache
This class provides a skeletal implementation of the
Cache interface to minimize the
effort required to implement this interface. |
AbstractCache.StatsCounter
Accumulates statistics during the operation of a
Cache for presentation by Cache.stats() . |
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
values automatically wrapped in WeakReference or SoftReference
notification of evicted (or otherwise removed) entries
accumulation of cache access statistics
|
CacheBuilder.NullListener |
CacheBuilder.OneWeigher |
CacheBuilderSpec
A specification of a
CacheBuilder configuration. |
CacheBuilderSpec.DurationParser
Base class for parsing times with durations
|
CacheBuilderSpec.IntegerParser
Base class for parsing integers.
|
CacheBuilderSpec.LongParser
Base class for parsing integers.
|
CacheBuilderSpec.ValueParser
Parses a single value.
|
CacheLoader
Computes or retrieves values, based on a key, for use in populating a
LoadingCache . |
CacheStats
Statistics about the performance of a
Cache . |
ForwardingCache
A cache which forwards all its method calls to another cache.
|
ForwardingLoadingCache
A cache which forwards all its method calls to another cache.
|
LoadingCache
A semi-persistent mapping from keys to values.
|
LocalCache
The concurrent hash map implementation built by
CacheBuilder . |
LocalCache.AbstractCacheSet |
LocalCache.AbstractReferenceEntry |
LocalCache.EntryFactory
Creates new entries.
|
LocalCache.HashIterator |
LocalCache.LoadingValueReference |
LocalCache.LocalManualCache |
LocalCache.ManualSerializationProxy
Serializes the configuration of a LocalCache, reconstituting it as a Cache using CacheBuilder
upon deserialization.
|
LocalCache.NullEntry |
LocalCache.Segment
Segments are specialized versions of hash tables.
|
LocalCache.SoftValueReference
References a soft value.
|
LocalCache.Strength |
LocalCache.StrongEntry
Used for strongly-referenced keys.
|
LocalCache.StrongValueReference
References a strong value.
|
LocalCache.ValueReference
A reference to a value.
|
LocalCache.WeakEntry
Used for weakly-referenced keys.
|
LocalCache.WeakValueReference
References a weak value.
|
LocalCache.WriteThroughEntry
Custom Entry class used by EntryIterator.next(), that relays setValue changes to the underlying
map.
|
LongAddable
Abstract interface for objects that can concurrently add longs.
|
ReferenceEntry
An entry in a reference map.
|
RemovalCause
The reason why a cached entry was removed.
|
RemovalListener
An object that can receive a notification when an entry is removed from a cache.
|
RemovalNotification
A notification of the removal of a single entry.
|
Striped64
A package-local class holding common representation and mechanics for classes supporting dynamic
striping on 64bit values.
|
Striped64.Cell
Padded variant of AtomicLong supporting only raw accesses plus CAS.
|
Weigher
Calculates the weights of cache entries.
|
Class and Description |
---|
LoadingCache
A semi-persistent mapping from keys to values.
|