Interface MessageTimestamp
- All Known Implementing Classes:
MessageTimestampImpl
public interface MessageTimestamp
Defines a contract for all message timestamps
Created and Sent are generated on rabbit server and Received and Dispatched on a local machine running sdk. If the system clocks are not in-sync it may happen that Received is before Created. Similar logic applies also to other properties.
-
Method Summary
Modifier and TypeMethodDescriptionlongGets the value specifying when the message was generated and put in queue on rabbit server (milliseconds since EPOCH UTC)longGets the value specifying when the message was dispatched to the user from the sdk (milliseconds since EPOCH UTC)longGets the value specifying when the message was received for processing by the sdk (milliseconds since EPOCH UTC)longgetSent()Gets the value specifying when the message was sent from the rabbit server (milliseconds since EPOCH UTC)
-
Method Details
-
getCreated
long getCreated()Gets the value specifying when the message was generated and put in queue on rabbit server (milliseconds since EPOCH UTC)- Returns:
- the value specifying when the message was generated
-
getSent
long getSent()Gets the value specifying when the message was sent from the rabbit server (milliseconds since EPOCH UTC)- Returns:
- the value specifying when the message was sent from the rabbit server
-
getReceived
long getReceived()Gets the value specifying when the message was received for processing by the sdk (milliseconds since EPOCH UTC)- Returns:
- the value specifying when the message was received for processing by the sdk
-
getDispatched
long getDispatched()Gets the value specifying when the message was dispatched to the user from the sdk (milliseconds since EPOCH UTC)- Returns:
- the value specifying when the message was dispatched to the user from the sdk
-