Class Modification

java.lang.Object
org.infinispan.hotrod.impl.transaction.entry.Modification

public class Modification extends Object
The final modification of a specific key.
Since:
14.0
  • Method Details

    • writeTo

      public void writeTo(io.netty.buffer.ByteBuf byteBuf, Codec codec)
      Writes this modification to the ByteBuf.
      Parameters:
      byteBuf - the ByteBuf to write to.
      codec - the Codec to use.
    • estimateSize

      public int estimateSize(Codec codec)
      The estimated size.
      Parameters:
      codec - the Codec to use for the size estimation.
      Returns:
      the estimated size.
    • getKey

      public byte[] getKey()
      Returns:
      The key changed by this modification.