Class PutMetadata

java.lang.Object
com.linkedin.venice.writer.PutMetadata

public class PutMetadata extends Object
This is a simple container class to hold replication metadata related fields together to be passed on to the Put api in VeniceWriter VeniceWriter.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 Details

    • PutMetadata

      public PutMetadata(int rmdVersionId, ByteBuffer rmdPayload)
  • Method Details

    • getRmdVersionId

      public int getRmdVersionId()
    • getRmdPayload

      public ByteBuffer getRmdPayload()
    • getSerializedSize

      public int getSerializedSize()