Package | Description |
---|---|
com.github.benmanes.caffeine.cache |
This package contains caching utilities.
|
Class and Description |
---|
AsyncCacheLoader
Computes or retrieves values asynchronously, based on a key, for use in populating a
AsyncLoadingCache . |
AsyncLoadingCache
A semi-persistent mapping from keys to values.
|
Cache
A semi-persistent mapping from keys to values.
|
CacheLoader
Computes or retrieves values, based on a key, for use in populating a
LoadingCache or
AsyncLoadingCache . |
CacheWriter
Communicates the write or deletion of a value, based on a key, to an external resource.
|
Caffeine
A builder of
AsyncLoadingCache , LoadingCache , and Cache 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
|
CaffeineSpec
A specification of a
Caffeine builder configuration. |
LoadingCache
A semi-persistent mapping from keys to values.
|
Policy
An access point for inspecting and performing low-level operations based on the cache's runtime
characteristics.
|
Policy.Eviction
The low-level operations for a cache with a size-based eviction policy.
|
Policy.Expiration
The low-level operations for a cache with a expiration policy.
|
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.
|
Ticker
A time source that returns a time value representing the number of nanoseconds elapsed since some
fixed but arbitrary point in time.
|
Weigher
Calculates the weights of cache entries.
|
Copyright © 2017. All rights reserved.