Package org.cache2k.processor
Entry processor and supporting types for custom atomic operations on a cache entry.
- Author:
- Jens Wilke
-
Interface Summary Interface Description EntryMutator<K,V> Identical to the processor but does not return a result.EntryProcessingResult<R> Result tuple forCache.invokeAll()
.EntryProcessor<K,V,R> An invokable function to perform an atomic operation on a cache entry.MutableCacheEntry<K,V> A mutable entry is used inside theEntryProcessor
to perform updates and retrieve information from a cache entry. -
Exception Summary Exception Description EntryProcessingException The wrapped exception from entry processing.RestartException Used by the entry processor to abort the processing to carry out some, possibly asynchronous, processing.