Package com.linkedin.venice.samza
Class VeniceObjectWithTimestamp
java.lang.Object
com.linkedin.venice.samza.VeniceObjectWithTimestamp
This class defines a wrapper object to wrap up the actual object and the corresponding update timestamp.
For the users who need to specify the logical update timestamp, you will need to wrap up your update and
the corresponding update timestamp and pass it to
VeniceSystemProducer
.
Specifically, for the users who are using VeniceSystemProducer.send(String, OutgoingMessageEnvelope)
,
the wrapper will replace OutgoingMessageEnvelope.message
.-
Constructor Summary
-
Method Summary
-
Constructor Details
-
VeniceObjectWithTimestamp
-
-
Method Details
-
getObject
-
getTimestamp
public long getTimestamp()
-