Package com.linkedin.venice.writer
Class PutMetadata
- java.lang.Object
-
- com.linkedin.venice.writer.PutMetadata
-
public class PutMetadata extends java.lang.Object
This is a simple container class to hold replication metadata related fields together to be passed on to the Put api in VeniceWriterVeniceWriter#put(Object, Object, int, Callback, LeaderMetadataWrapper, long, PutMetadata)
. Caller should construct an instance of this object by properly filling up all the fields of this object.
-
-
Constructor Summary
Constructors Constructor Description PutMetadata(int rmdVersionId, java.nio.ByteBuffer rmdPayload)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.nio.ByteBuffer
getRmdPayload()
int
getRmdVersionId()
int
getSerializedSize()
-