Class EntryProcessorEntry<K,V>
java.lang.Object
com.github.benmanes.caffeine.jcache.processor.EntryProcessorEntry<K,V>
- All Implemented Interfaces:
javax.cache.Cache.Entry<K,
,V> javax.cache.processor.MutableEntry<K,
V>
public final class EntryProcessorEntry<K,V>
extends Object
implements javax.cache.processor.MutableEntry<K,V>
An entry that is consumed by an
EntryProcessor
. The updates to the entry are replayed
on the cache when the processor completes.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
hasEntry
private final boolean hasEntry -
key
-
action
-
value
-
cacheLoader
-
-
Constructor Details
-
EntryProcessorEntry
-
-
Method Details
-
exists
public boolean exists() -
getKey
-
getValue
-
remove
public void remove() -
setValue
-
getAction
- Returns:
- the dominant action performed by the processor on the entry.
-
unwrap
-
toString
-