Class CacheEntryImpl<K,V>
- java.lang.Object
-
- org.apache.ignite.internal.processors.cache.CacheEntryImpl<K,V>
-
- All Implemented Interfaces:
Externalizable,Serializable,javax.cache.Cache.Entry<K,V>
- Direct Known Subclasses:
CacheEntryImplEx
public class CacheEntryImpl<K,V> extends Object implements javax.cache.Cache.Entry<K,V>, Externalizable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CacheEntryImpl()Required byExternalizable.CacheEntryImpl(K key, V val)CacheEntryImpl(K key, V val, GridCacheVersion ver)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KgetKey()VgetValue()voidreadExternal(ObjectInput in)StringtoString()<T> Tunwrap(Class<T> cls)voidwriteExternal(ObjectOutput out)
-
-
-
Constructor Detail
-
CacheEntryImpl
public CacheEntryImpl()
Required byExternalizable.
-
CacheEntryImpl
public CacheEntryImpl(K key, V val, GridCacheVersion ver)
- Parameters:
key- Key.val- Value.ver- Entry version.
-
-
Method Detail
-
unwrap
public <T> T unwrap(Class<T> cls)
-
writeExternal
public void writeExternal(ObjectOutput out) throws IOException
- Specified by:
writeExternalin interfaceExternalizable- Throws:
IOException
-
readExternal
public void readExternal(ObjectInput in) throws IOException, ClassNotFoundException
- Specified by:
readExternalin interfaceExternalizable- Throws:
IOExceptionClassNotFoundException
-
-