See: Description
Interface | Description |
---|---|
Cache<KeyType extends Serializable,ValueType extends Serializable> |
The
Cache interface represents a cache intended for
application-level caching. |
CachedObject.Computation<Key extends Serializable,Value extends Serializable> |
Callback invoked to compute an object if it was not found in the cache.
|
ComputedValue.Computation<T> |
Computation
|
Class | Description |
---|---|
CachedObject<KeyType extends Serializable,ValueType extends Serializable> |
Represents a cached object identified by the key it has in a certain
Cache . |
ComputedValue<T> |
Utility class to deal with recomputation of a certain value.
|
EhCache<KeyType extends Serializable,ValueType extends Serializable> |
Cache implemented on top of EhCache.
|
ForeverCache<KeyType extends Serializable,ValueType extends Serializable> |
A very simple cache based on a HashMap, It never expires any entries, and has
no bounds on its size.
|
ZeroCache<KeyType extends Serializable,ValueType extends Serializable> |
A cache that does not cache.
|
Cache
: An interface representing an application-level cache with objects in the
cache identified by keys.
CachedObject
: An object representing an object in a cache identified through a
key. Upon expiry the cached object invokes a callback to recompute (and cache) the object
again.
ComputedValue
: An object caching a computed value with a computation interface
determining whether the object is out of date and allowing recomputation of the value.
Copyright © 2024. All rights reserved.