Interface | Description |
---|---|
Cache<K,V> |
A simple interface for a cache, with a map-like API.
|
CacheExpiryListener<K,V> |
An entity interested in receiving cache expiry events.
|
Class | Description |
---|---|
CacheExpiryEvent<K,V> |
An event indicating one or more element was expired from a cache.
|
ExpiryCache<K,V> |
An abstract implementation of a cache with a fixed capacity, which expires one or more of its
elements when its capacity is reached and a new element is added to the cache.
|
ExpiryCache.Node<K,V> |
A sortable node containing the hashable key and value of a cache entry.
|
LFUAgingCache<K,V> |
An implementation of a least-frequently-used (LFU) cache which additionally adjusts the
importance of individual elements, based on the age of their last access.
|
LFUAgingCache.NodeImpl<K,V> |
A sortable node containing the hashable key and value of a cache entry.
|
LRUCache<K,V> |
An implementation of a least-recently-used (LRU) cache.
|
LRUCache.NodeImpl<K,V> |
A sortable node containing the hashable key and value of a cache entry.
|