Uses of Interface
org.cache2k.DataAware
-
Packages that use DataAware Package Description org.cache2k Main package for cache2k API containing functions to build and access a cache.org.cache2k.config The cache configuration as a Java bean and support types.org.cache2k.event Events that are fired on behalf of a cache operation.org.cache2k.expiry Set of interfaces for customizing the expiry behavior.org.cache2k.io Loader and writer to integrate with external data sources.org.cache2k.operation Operational aspects of a cache, like accessing statistics, basic information, change runtime parameters and customizations that augment general behavior.org.cache2k.processor Entry processor and supporting types for custom atomic operations on a cache entry. -
-
Uses of DataAware in org.cache2k
Subinterfaces of DataAware in org.cache2k Modifier and Type Interface Description interface
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.interface
CacheEntry<K,V>
Object representing a cache entry.interface
DataAwareCustomization<K,V>
Parent for all customizations dealing with cached data.interface
KeyValueSource<K,V>
Reduced interface to return a value selected by a key object.Classes in org.cache2k that implement DataAware Modifier and Type Class Description class
AbstractCache<K,V>
Base class for implementations of the cache interface.class
Cache2kBuilder<K,V>
Builder to create aCache
instance.class
ForwardingCache<K,V>
Wrapper class that forwards all method calls to a delegate. -
Uses of DataAware in org.cache2k.config
Classes in org.cache2k.config that implement DataAware Modifier and Type Class Description class
Cache2kConfig<K,V>
Configuration for a cache2k cache. -
Uses of DataAware in org.cache2k.event
Subinterfaces of DataAware in org.cache2k.event Modifier and Type Interface Description interface
CacheEntryCreatedListener<K,V>
A new entry is inserted into the cache, e.g.interface
CacheEntryEvictedListener<K,V>
Called when an entry gets evicted by the cache.interface
CacheEntryExpiredListener<K,V>
Listener called when an entry expires.interface
CacheEntryOperationListener<K,V>
The root of all listeners that are called for an entry lifecycle and updates.interface
CacheEntryRemovedListener<K,V>
Called when an entry was actively removed from the cache.interface
CacheEntryUpdatedListener<K,V>
Fires in case a cache entry is mutated. -
Uses of DataAware in org.cache2k.expiry
Subinterfaces of DataAware in org.cache2k.expiry Modifier and Type Interface Description interface
ExpiryPolicy<K,V>
A custom policy which allows to calculate a dynamic expiry time for an entry after an insert or update. -
Uses of DataAware in org.cache2k.io
Subinterfaces of DataAware in org.cache2k.io Modifier and Type Interface Description interface
AdvancedCacheLoader<K,V>
Retrieves or generates a value to load into the cache.interface
AsyncBulkCacheLoader<K,V>
Extension ofAsyncCacheLoader
with bulk load capabilities.static interface
AsyncBulkCacheLoader.BulkCallback<K,V>
static interface
AsyncBulkCacheLoader.BulkLoadContext<K,V>
interface
AsyncCacheLoader<K,V>
Alternative interface toCacheLoader
for asynchronous operation.static interface
AsyncCacheLoader.Context<K,V>
Relevant context information for a single load request.interface
BulkCacheLoader<K,V>
Extension to the cache load with bulk load capabilities.interface
CacheLoader<K,V>
Retrieves or generates a value to load into the cache.interface
CacheWriter<K,V>
Writer for write-through configurations.interface
ExceptionPropagator<K,V>
In read through mode exceptions are cached.interface
LoadExceptionInfo<K,V>
Relevant information of a load attempt that generated an exception.interface
ResiliencePolicy<K,V>
Controls how to deal with loader exceptions in a read through configuration. -
Uses of DataAware in org.cache2k.operation
Subinterfaces of DataAware in org.cache2k.operation Modifier and Type Interface Description interface
Weigher<K,V>
Allows giving cached values a weight and limit the cache capacity by total weight. -
Uses of DataAware in org.cache2k.processor
Subinterfaces of DataAware in org.cache2k.processor Modifier and Type Interface Description interface
EntryMutator<K,V>
Identical to the processor but does not return a result.interface
EntryProcessor<K,V,R>
An invokable function to perform an atomic operation on a cache entry.interface
MutableCacheEntry<K,V>
A mutable entry is used inside theEntryProcessor
to perform updates and retrieve information from a cache entry.
-