Package com.linkedin.venice.pubsub.api
Class PubSubMessageHeader
java.lang.Object
com.linkedin.venice.pubsub.api.PubSubMessageHeader
- All Implemented Interfaces:
Measurable
A key-value pair that is associated with a message
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
PubSubMessageHeader
-
-
Method Details
-
key
-
value
public byte[] value() -
hashCode
public int hashCode() -
equals
-
getHeapSize
public int getHeapSize()TODO: the following estimation doesn't consider the overhead of the internal structure.- Specified by:
getHeapSize
in interfaceMeasurable
-