Package org.gridgain.internal.dr.common
Class GridCacheRawVersionedEntry
java.lang.Object
org.gridgain.internal.dr.common.GridCacheRawVersionedEntry
DR data transfer object, which represents a cache entry.
-
Constructor Summary
ConstructorsConstructorDescriptionGridCacheRawVersionedEntry(byte[] keyBytes, byte[] valBytes, GridCacheVersion ver) Constructor. -
Method Summary
-
Constructor Details
-
GridCacheRawVersionedEntry
Constructor.- Parameters:
keyBytes- Key raw bytes.valBytes- Value raw bytes.ver- Entry version.
-
-
Method Details
-
key
Returns key object. -
keyBytes
public byte[] keyBytes()Returns key raw bytes. -
value
Returns value object. -
valueBytes
public byte[] valueBytes()Returns value raw bytes. -
version
Returns entry version. -
unmarshal
Perform internal unmarshal of this entry. It must be performed after entry is deserialized and before its restored key/value are needed.- Parameters:
marsh- Marshaller.
-