Package | Description |
---|---|
com.google.common.cache |
This package contains caching utilities.
|
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 weak references
values automatically wrapped in weak or soft references
notification of evicted (or otherwise removed) entries
accumulation of cache access statistics
|
CacheBuilderSpec
A specification of a
CacheBuilder configuration. |
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.
|
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.
|
Weigher
Calculates the weights of cache entries.
|
Copyright © 2010–2019. All rights reserved.