All Classes and Interfaces
Class
Description
A semi-persistent mapping from keys to values.
Computes or retrieves values asynchronously based on a key, for use in populating a
AsyncLoadingCache
.A semi-persistent mapping from keys to values.
A semi-persistent mapping from keys to values.
Computes or retrieves values, based on a key, for use in populating a
LoadingCache
or
AsyncLoadingCache
.Statistics about the performance of a
Cache
.A builder of
Cache
, LoadingCache
, AsyncCache
, and
AsyncLoadingCache
instances having a combination of the following features:
automatic loading of entries into the cache, optionally asynchronously
size-based eviction when a maximum is exceeded based on frequency and recency
time-based expiration of entries, measured since last access or last write
asynchronously refresh when the first stale request for an entry occurs
keys automatically wrapped in weak references
values automatically wrapped in weak or
soft references
writes propagated to an external resource
notification of evicted (or otherwise removed) entries
accumulation of cache access statistics
A specification of a
Caffeine
builder configuration.A thread-safe
StatsCounter
implementation for use by Cache
implementors.Calculates when cache entries expire.
Provides similar behavior to
String.intern()
for any immutable type.A semi-persistent mapping from keys to values.
An access point for inspecting and performing low-level operations based on the cache's runtime
characteristics.
A key-value pair that may include policy metadata for the cached entry.
The low-level operations for a cache with a size-based eviction policy.
The low-level operations for a cache with a fixed expiration policy.
The low-level operations for a cache with a fixed refresh policy.
The low-level operations for a cache with a variable expiration policy.
The reason why a cached entry was removed.
An object that can receive a notification when an entry is removed from a cache.
A scheduler that submits a task to an executor after a given delay.
Accumulates statistics during the operation of a
Cache
for presentation by
Cache.stats()
.A time source that returns a time value representing the number of nanoseconds elapsed since some
fixed but arbitrary point in time.
Calculates the weights of cache entries.