public class GridDhtCacheEntryImpl<K,V> extends GridCacheEntryImpl<K,V>
cached, ctx, key, MODES_SMART, proxy| Constructor and Description |
|---|
GridDhtCacheEntryImpl()
Empty constructor required for
Externalizable. |
GridDhtCacheEntryImpl(GridCacheProjectionImpl<K,V> nearPrj,
GridCacheContext<K,V> ctx,
K key,
GridCacheEntryEx<K,V> cached) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
isLocked()
This method has the same semantic as
GridCacheProjection.isLocked(Object) method. |
boolean |
isLockedByThread()
This method has the same semantic as
GridCacheProjection.isLockedByThread(Object) method. |
V |
peek(Collection<GridCachePeekMode> modes)
This method has the same semantic as
GridCacheProjection.peek(Object, Collection) method. |
String |
toString() |
addMeta, addMetaIfAbsent, addMetaIfAbsent, allMeta, backup, clear, compact, copyMeta, copyMeta, entryEx, equals, evict, expirationTime, get, getAsync, getKey, getValue, hashCode, hasMeta, hasMeta, isCached, lock, lockAsync, memorySize, meta, partition, peek, peekEx, primary, projection, putMetaIfAbsent, putMetaIfAbsent, readExternal, reload, reloadAsync, remove, remove, removeAsync, removeAsync, removeMeta, removeMeta, removex, removexAsync, replace, replace, replaceAsync, replaceAsync, replaceMeta, replacex, replacexAsync, reset, set, setAsync, setIfAbsent, setIfAbsentAsync, setValue, setx, setxAsync, setxIfAbsent, setxIfAbsentAsync, timeToLive, timeToLive, transform, transformAsync, unlock, unwrapNoCreate, version, writeExternalpublic GridDhtCacheEntryImpl()
Externalizable.public GridDhtCacheEntryImpl(GridCacheProjectionImpl<K,V> nearPrj, GridCacheContext<K,V> ctx, K key, @Nullable GridCacheEntryEx<K,V> cached)
nearPrj - Parent projection or null if entry belongs to default cache.ctx - Near cache context.key - key.cached - Cached entry (either from near or dht cache map).public V peek(@Nullable Collection<GridCachePeekMode> modes) throws GridException
GridCacheProjection.peek(Object, Collection) method.peek in interface GridCacheEntry<K,V>peek in class GridCacheEntryImpl<K,V>modes - See GridCacheProjection.peek(Object, Collection).GridCacheProjection.peek(Object, Collection).GridException - See GridCacheProjection.peek(Object, Collection).public boolean isLocked()
GridCacheProjection.isLocked(Object) method.isLocked in interface GridCacheEntry<K,V>isLocked in class GridCacheEntryImpl<K,V>GridCacheProjection.isLocked(Object).public boolean isLockedByThread()
GridCacheProjection.isLockedByThread(Object) method.isLockedByThread in interface GridCacheEntry<K,V>isLockedByThread in class GridCacheEntryImpl<K,V>GridCacheProjection.isLockedByThread(Object).public String toString()
toString in class GridCacheEntryImpl<K,V>Copyright © 2014. All rights reserved.