Main package for cache2k API containing functions to build and access a cache.
Cache can be created the
the parameters that can be set via the builder, a cache can be further customized and extended
- Jens Wilke
- See Also:
- cache2k User Guide
Interface Summary Interface Description Cache<K,V>A cache is similar to a map or a key value store, allowing to retrieve and update values which are associated with keys. CacheEntry<K,V>Object representing a cache entry. CustomizationA customization dealing with cached data. DataAware<K,V>Parent for all interfaces dealing with cached data. DataAwareCustomization<K,V>Parent for all customizations dealing with cached data. KeyValueSource<K,V>Reduced interface to return a value selected by a key object.
Class Summary Class Description AbstractCache<K,V>Base class for implementations of the cache interface. Cache2kBuilder<K,V>Builder to create a
CacheManagerA cache manager holds a set of caches. ForwardingCache<K,V>Wrapper class that forwards all method calls to a delegate.
Exception Summary Exception Description CacheClosedExceptionConsistently this exception is thrown, when an operation detects that the cache is closed. CacheExceptionBase class of all cache exceptions. CustomizationExceptionWraps an exception thrown from a cache customization such as the