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.
|
KeyValueSource<K,V> |
Reduced interface to return a value selected by a key object.
|
KeyValueStore<K,V> |
Reduced interface for read/write data access.
|
Class | Description |
---|---|
AbstractCache<K,V> |
Base class for implementations of the cache interface.
|
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–2017 headissue GmbH, Munich.