Class EntryProcessorEntry<K,V>
java.lang.Object
com.github.benmanes.caffeine.jcache.processor.EntryProcessorEntry<K,V>
- All Implemented Interfaces:
Cache.Entry<K,,V> 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.-
Constructor Summary
ConstructorsConstructorDescriptionEntryProcessorEntry(K key, @Nullable V value, Optional<CacheLoader<K, V>> cacheLoader) -
Method Summary
-
Constructor Details
-
EntryProcessorEntry
-
-
Method Details
-
exists
public boolean exists()- Specified by:
existsin interfaceMutableEntry<K,V>
-
getKey
- Specified by:
getKeyin interfaceCache.Entry<K,V>
-
getValue
- Specified by:
getValuein interfaceCache.Entry<K,V> - Specified by:
getValuein interfaceMutableEntry<K,V>
-
remove
public void remove()- Specified by:
removein interfaceMutableEntry<K,V>
-
setValue
- Specified by:
setValuein interfaceMutableEntry<K,V>
-
getAction
Returns the dominant action performed by the processor on the entry. -
unwrap
- Specified by:
unwrapin interfaceCache.Entry<K,V>
-
toString
-