Interface | Description |
---|---|
CanCheckIntegrity |
Cache supports checking its internal integrity.
|
CommonMetrics |
Statistic metrics common to every cache type.
|
CommonMetrics.Updater | |
CommonMetricsFactory | |
CommonMetricsFactory.Parameters | |
EventCounter | |
Eviction |
Interface to the eviction data structure (replacement list).
|
EvictionMetrics |
Access to eviction metrics.
|
HealthInfoElement |
Describes a single problem of a cache, for example a bad hash quality.
|
HeapCacheListener<K,V> | |
InternalCache<K,V> |
Interface to extended cache functions for the internal components.
|
InternalCacheInfo |
Collection of all metrics of a cache.
|
StorageMetrics | |
StorageMetrics.Updater |
Class | Description |
---|---|
AbstractEviction |
Basic eviction functionality.
|
BaseCache<K,V> |
Some default implementations for a cache.
|
Cache2kCoreProviderImpl | |
CacheManagerImpl | |
ClockEviction | |
ClockProPlusEviction |
CLOCK Pro implementation with 3 clocks.
|
ClockProPlusEviction.Tunable | |
CollisionInfo |
Aggregate bean for collision information of a hash table.
|
CommonMetrics.BlackHole | |
ConcurrentEntryIterator<K,V> |
Iterator over all cache entries.
|
ConcurrentMapWrapper<K,V> |
ConcurrentMap interface wrapper on top of a cache.
|
DefaultResiliencePolicy<K,V> |
Default resilience policy which implements a exponential back off and randomization
of the retry intervals.
|
Entry<K,T> |
The cache entry.
|
EntryAction<K,V,R> |
This is a method object to perform an operation on an entry.
|
ExceptionWrapper<K> |
We use instances of the exception wrapper for the value field in the entry.
|
ExclusiveExecutor |
Wraps a thread pool executor that is used by one cache exclusively.
|
Hash2<K,V> |
Simple concurrent hash table implementation using optimistic locking
for the segments locks.
|
HeapCache<K,V> |
Foundation for all cache variants.
|
HeapCache.RunWithCatch | |
HeapCache.Tunable | |
HeapCacheListener.NoOperation<K,V> | |
IntegrityState |
Used to record and check the integrity.
|
InternalCache2kBuilder<K,V> |
Method object to construct a cache2k cache.
|
MapValueConverterProxy<K,V,S> |
Delegates all requests to the given map and converts the value.
|
RandomEviction | |
SegmentedEviction |
Forwards eviction operations to segments based on the hash code.
|
StandardCommonMetrics | |
StandardCommonMetricsFactory |
Standard factory for metrics.
|
StandardExceptionPropagator |
Standard behavior of the exception propagator.
|
StandardStorageMetrics | |
StorageMetrics.Dummy | |
TimingHandler<K,V> |
Encapsulates logic for expiry times calculation and timer handling.
|
TimingHandler.Tunable | |
WiredCache<K,V> |
A cache implementation that builds on a heap cache and coordinates with additional
attachments like storage, listeners and a writer.
|
Exception | Description |
---|---|
CacheClosedException |
Consistently this exception is thrown, when an operation detects that the
cache is closed.
|
CacheStorageException | |
EntryAction.ListenerException | |
EntryAction.ProcessingFailureException | |
EntryAction.StorageReadException | |
EntryAction.StorageWriteException | |
ExpiryPolicyException | |
ResiliencePolicyException |
Exception happened in the resilience policy.
|
Error | Description |
---|---|
CacheInternalError |
An internal error condition in the cache was detected that actually
never is supposed to happen.
|
cache2k API documentation. Copyright © 2000–2018 headissue GmbH, Munich.