Main package for cache2k API containing functions to build and access a cache.
Cache can be created the
Cache2kBuilder. Besides the
parameters that can be set via the builder, a cache can be further customized and extended via
- Jens Wilke
- See Also:
- cache2k User Guide
Interface Summary Interface Description AdvancedKeyValueSource<K,V> Deprecated. Cache<K,V>A cache is similar to a map or a key value store, allowing to retrieve and update values which are associated to keys. CacheEntry<K,V>Object representing a cache entry. CacheOperationCompletionListener Deprecated.to be removed in 2.2 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. KeyValueStore<K,V> Deprecated.
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 CacheExceptionBase class of all cache exceptions. CustomizationException