K - the type of keys maintained by this mapV - the type of mapped values*public class EntryProcessorEntry<K,V> extends Object implements javax.cache.processor.MutableEntry<K,V>
MutableEntry that is used by EntryProcessors.| Constructor and Description |
|---|
EntryProcessorEntry(RIInternalConverter<V> converter,
K key,
RICachedValue cachedValue,
long now,
RICacheEventDispatcher<K,V> dispatcher,
javax.cache.integration.CacheLoader<K,V> cacheLoader)
Construct a
MutableEntry |
| Modifier and Type | Method and Description |
|---|---|
boolean |
exists() |
K |
getKey() |
MutableEntryOperation |
getOperation()
Return the operation
|
V |
getValue() |
void |
remove() |
void |
setValue(V value) |
<T> T |
unwrap(Class<T> clazz) |
public EntryProcessorEntry(RIInternalConverter<V> converter, K key, RICachedValue cachedValue, long now, RICacheEventDispatcher<K,V> dispatcher, javax.cache.integration.CacheLoader<K,V> cacheLoader)
MutableEntrykey - the key for the MutableEntrycachedValue - the RICachedValue of the MutableEntry
(may be null)now - the current timedispatcher - the dispatch to capture events to dispatchcacheLoader - cacheLoader should be non-null only if configuration.isReadThrough is true.public V getValue()
public boolean exists()
public void remove()
public void setValue(V value)
public <T> T unwrap(Class<T> clazz)
public MutableEntryOperation getOperation()
Copyright © 2019. All rights reserved.