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 CacheWriters 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, waitcomparingByKey, comparingByKey, comparingByValue, comparingByValue, equals, hashCodeCopyright © 2020 Hazelcast, Inc.. All Rights Reserved.