Class LazyDataEntry


  • public class LazyDataEntry
    extends DataEntry
    Represents Data Entry (key(), value) pair update operation.
    This Data entry was not converted to key, value pair during record deserialization.
    • Constructor Detail

      • LazyDataEntry

        public LazyDataEntry​(GridCacheSharedContext cctx,
                             int cacheId,
                             byte keyType,
                             byte[] keyBytes,
                             byte valType,
                             byte[] valBytes,
                             GridCacheOperation op,
                             GridCacheVersion nearXidVer,
                             GridCacheVersion writeVer,
                             long expireTime,
                             int partId,
                             long partCnt,
                             byte flags)
        Parameters:
        cctx - Shared context.
        cacheId - Cache ID.
        keyType - Object type code for Key.
        keyBytes - Data Entry Key value bytes.
        valType - Object type code for Value.
        valBytes - Data Entry Value value bytes.
        op - Operation.
        nearXidVer - Near transaction version.
        writeVer - Write version.
        expireTime - Expire time.
        partId - Partition ID.
        partCnt - Partition counter.
        flags - Flags.
    • Method Detail

      • getKeyType

        public byte getKeyType()
        Returns:
        Data Entry Key type code. See CacheObject for built-in value type codes
      • getKeyBytes

        public byte[] getKeyBytes()
        Returns:
        Key value bytes.
      • getValType

        public byte getValType()
        Returns:
        Data Entry Value type code. See CacheObject for built-in value type codes
      • getValBytes

        public byte[] getValBytes()
        Returns:
        Value value bytes.