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() |
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 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 Database and Caching Platform : ver. 2.9.1 Release Date : December 9 2020