Class 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 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 Summary

      Constructors 
      Constructor Description
      PutMetadata​(int rmdVersionId, java.nio.ByteBuffer rmdPayload)  
    • Constructor Detail

      • PutMetadata

        public PutMetadata​(int rmdVersionId,
                           java.nio.ByteBuffer rmdPayload)
    • Method Detail

      • getRmdVersionId

        public int getRmdVersionId()
      • getRmdPayload

        public java.nio.ByteBuffer getRmdPayload()
      • getSerializedSize

        public int getSerializedSize()