Package com.linkedin.venice.utils
Class PubSubHelper.MutablePubSubMessage
- java.lang.Object
-
- com.linkedin.venice.utils.PubSubHelper.MutablePubSubMessage
-
- Enclosing class:
- PubSubHelper
public static class PubSubHelper.MutablePubSubMessage extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description MutablePubSubMessage()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description KafkaKey
getKey()
java.lang.Long
getOffset()
long
getTimestampAfterProduce()
long
getTimestampBeforeProduce()
PubSubTopicPartition
getTopicPartition()
KafkaMessageEnvelope
getValue()
PubSubHelper.MutablePubSubMessage
setKey(KafkaKey key)
PubSubHelper.MutablePubSubMessage
setOffset(long offset)
PubSubHelper.MutablePubSubMessage
setTimestampAfterProduce(long timestampAfterProduce)
PubSubHelper.MutablePubSubMessage
setTimestampBeforeProduce(long timestampBeforeProduce)
PubSubHelper.MutablePubSubMessage
setTopicPartition(PubSubTopicPartition topicPartition)
PubSubHelper.MutablePubSubMessage
setValue(KafkaMessageEnvelope value)
-
-
-
Method Detail
-
getKey
public KafkaKey getKey()
-
getValue
public KafkaMessageEnvelope getValue()
-
getTopicPartition
public PubSubTopicPartition getTopicPartition()
-
getOffset
public java.lang.Long getOffset()
-
setKey
public PubSubHelper.MutablePubSubMessage setKey(KafkaKey key)
-
setValue
public PubSubHelper.MutablePubSubMessage setValue(KafkaMessageEnvelope value)
-
setTopicPartition
public PubSubHelper.MutablePubSubMessage setTopicPartition(PubSubTopicPartition topicPartition)
-
setOffset
public PubSubHelper.MutablePubSubMessage setOffset(long offset)
-
setTimestampBeforeProduce
public PubSubHelper.MutablePubSubMessage setTimestampBeforeProduce(long timestampBeforeProduce)
-
setTimestampAfterProduce
public PubSubHelper.MutablePubSubMessage setTimestampAfterProduce(long timestampAfterProduce)
-
getTimestampBeforeProduce
public long getTimestampBeforeProduce()
-
getTimestampAfterProduce
public long getTimestampAfterProduce()
-
-