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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intestimateSize(Codec codec)The estimated size.byte[]getKey()voidwriteTo(io.netty.buffer.ByteBuf byteBuf, Codec codec)Writes this modification to theByteBuf.
-
-
-
Method Detail
-
writeTo
public void writeTo(io.netty.buffer.ByteBuf byteBuf, Codec codec)Writes this modification to theByteBuf.- Parameters:
byteBuf- theByteBufto write to.codec- theCodecto use.
-
estimateSize
public int estimateSize(Codec codec)
The estimated size.- Parameters:
codec- theCodecto use for the size estimation.- Returns:
- the estimated size.
-
getKey
public byte[] getKey()
- Returns:
- The key changed by this modification.
-
-