Class GridCacheRawVersionedEntry

java.lang.Object
org.gridgain.internal.dr.common.GridCacheRawVersionedEntry

public class GridCacheRawVersionedEntry extends Object
DR data transfer object, which represents a cache entry.
  • Constructor Details

    • GridCacheRawVersionedEntry

      public GridCacheRawVersionedEntry(byte[] keyBytes, byte[] valBytes, GridCacheVersion ver)
      Constructor.
      Parameters:
      keyBytes - Key raw bytes.
      valBytes - Value raw bytes.
      ver - Entry version.
  • Method Details

    • key

      public Object key()
      Returns key object.
    • keyBytes

      public byte[] keyBytes()
      Returns key raw bytes.
    • value

      @Nullable public @Nullable Object value()
      Returns value object.
    • valueBytes

      public byte[] valueBytes()
      Returns value raw bytes.
    • version

      public GridCacheVersion version()
      Returns entry version.
    • unmarshal

      public void unmarshal(BinaryMarshallerV8 marsh)
      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.