| Interface | Description |
|---|---|
| AdvancedKeyValueSource<K,V> |
KeyValueSource with bulk get and prefetching. |
| 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 |
A listener implemented by the cache client to get notification about the
completion of a load or prefetch operation.
|
| IntCache<V> |
Specialized version of
Cache for int keys. |
| IntKeyValueSource<V> |
Specialized version of
KeyValueSource for int keys. |
| IntKeyValueStore<V> |
Specialized version of
KeyValueStore for int keys. |
| KeyValueSource<K,V> |
Reduced interface to return a value selected by a key object.
|
| KeyValueStore<K,V> |
Reduced interface for read/write data access.
|
| LongCache<V> |
Specialized version of
Cache for long keys. |
| LongKeyValueSource<V> |
Specialized version of
KeyValueSource for long keys. |
| LongKeyValueStore<V> |
Specialized version of
KeyValueStore for long keys. |
| TimeReference |
Marker interface for different time sources.
|
| Class | Description |
|---|---|
| AbstractCache<K,V> |
Base class for implementations of the cache interface.
|
| AbstractCacheEntry<K,V> |
Abstract class for cache entry providing suitable defaults.
|
| Cache2kBuilder<K,V> |
Builder to create a
Cache instance. |
| CacheManager |
A cache manager holds a set of caches.
|
| ForwardingCache<K,V> |
Wrapper class that forwards all method calls to a delegate.
|
| Exception | Description |
|---|---|
| CacheException |
Base class of all cache exceptions.
|
| CustomizationException |
Wraps an exception thrown from a cache customization such as the
ExpiryPolicy or CacheLoader. |
A 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
a CacheLoader, CacheWriter,
ExpiryPolicy or ResiliencePolicy.
cache2k API documentation. Copyright © 2000–2019 headissue GmbH, Munich.