K
- the type of key.V
- the type of value.public class CacheEntry<K,V> extends Object implements javax.cache.Cache.Entry<K,V>, Map.Entry<K,V>
Cache.Entry
implementation for wrapping a "key,value" pair.
This implementation is used by CacheWriter
s and
Cache.iterator()
.
CacheWriter
,
Cache.iterator()
Constructor and Description |
---|
CacheEntry(K key,
V value) |
Modifier and Type | Method and Description |
---|---|
K |
getKey() |
V |
getValue() |
V |
setValue(V value) |
<T> T |
unwrap(Class<T> clazz) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
comparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCode
Copyright © 2020 Hazelcast, Inc.. All Rights Reserved.