public class CacheEntryImplEx<K,V> extends CacheEntryImpl<K,V> implements CacheEntry<K,V>
| Constructor and Description |
|---|
CacheEntryImplEx()
Required by
Externalizable. |
CacheEntryImplEx(K key,
V val,
GridCacheVersion ver) |
| Modifier and Type | Method and Description |
|---|---|
void |
readExternal(ObjectInput in) |
String |
toString() |
long |
updateTime()
Returns the time when the cache entry for the given key has been updated or initially created.
|
GridCacheVersion |
version()
Returns a comparable object representing the version of this cache entry.
|
void |
writeExternal(ObjectOutput out) |
getKey, getValue, unwrappublic CacheEntryImplEx()
Externalizable.public CacheEntryImplEx(K key, V val, GridCacheVersion ver)
key - Key.val - Value (always null).ver - Version.public GridCacheVersion version()
It is valid to compare cache entries' versions for the same key. In this case the latter update will be represented by a higher version. The result of versions comparison of cache entries of different keys is undefined.
version in interface CacheEntry<K,V>public long updateTime()
It is valid to compare cache entries' update time for the same key. In this case the latter update will be represented by higher update time. The result of update time comparison of cache entries of different keys is undefined.
updateTime in interface CacheEntry<K,V>public void writeExternal(ObjectOutput out) throws IOException
writeExternal in interface ExternalizablewriteExternal in class CacheEntryImpl<K,V>IOExceptionpublic void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
readExternal in interface ExternalizablereadExternal in class CacheEntryImpl<K,V>IOExceptionClassNotFoundExceptionpublic String toString()
toString in class CacheEntryImpl<K,V>
Follow @ApacheIgnite
Ignite Fabric : ver. 1.6.0 Release Date : May 18 2016