Package com.linkedin.venice.writer
Class LeaderMetadataWrapper
- java.lang.Object
-
- com.linkedin.venice.writer.LeaderMetadataWrapper
-
public class LeaderMetadataWrapper extends java.lang.Object
This is a simple container class to hold Leader metadata related fields together to be passed on to the Put and Delete api in VeniceWriter Caller should construct an instance of this object by properly filling up all the fields of this object.
-
-
Constructor Summary
Constructors Constructor Description LeaderMetadataWrapper(long upstreamOffset, int upstreamKafkaClusterId)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getUpstreamKafkaClusterId()
long
getUpstreamOffset()
-