public class CacheLazyEntry<K,V> extends Object implements javax.cache.Cache.Entry<K,V>
| Modifier and Type | Field and Description |
|---|---|
protected GridCacheContext |
cctx
Cache context.
|
protected K |
key
Key.
|
protected KeyCacheObject |
keyObj
Key cache object.
|
protected V |
val
Value.
|
protected CacheObject |
valObj
Cache object value.
|
| Constructor and Description |
|---|
CacheLazyEntry(GridCacheContext<K,V> ctx,
KeyCacheObject keyObj,
K key,
CacheObject valObj,
V val,
boolean keepBinary) |
CacheLazyEntry(GridCacheContext cctx,
KeyCacheObject keyObj,
CacheObject valObj,
boolean keepBinary) |
CacheLazyEntry(GridCacheContext cctx,
KeyCacheObject keyObj,
V val,
boolean keepBinary) |
protected GridCacheContext cctx
protected KeyCacheObject keyObj
protected CacheObject valObj
@GridToStringInclude protected K key
@GridToStringInclude protected V val
public CacheLazyEntry(GridCacheContext cctx, KeyCacheObject keyObj, CacheObject valObj, boolean keepBinary)
cctx - Cache context.keyObj - Key cache object.valObj - Cache object value.public CacheLazyEntry(GridCacheContext cctx, KeyCacheObject keyObj, V val, boolean keepBinary)
keyObj - Key cache object.val - Value.cctx - Cache context.public CacheLazyEntry(GridCacheContext<K,V> ctx, KeyCacheObject keyObj, K key, CacheObject valObj, V val, boolean keepBinary)
ctx - Cache context.keyObj - Key cache object.key - Key value.valObj - Cache objectval - Cache value.public V getValue(boolean keepBinary)
keepBinary - Flag to keep binary if needed.public V value()
public K key()
public <T> T unwrap(Class<T> cls)
Follow @ApacheIgnite
Ignite Fabric : ver. 1.5.0.final Release Date : December 29 2015