public class MessageTimestampImpl extends Object implements MessageTimestamp
Constructor and Description |
---|
MessageTimestampImpl(long timestamp) |
MessageTimestampImpl(long created,
long sent,
long received,
long dispatched) |
Modifier and Type | Method and Description |
---|---|
long |
getCreated()
Gets the value specifying when the message was generated and put in queue on rabbit server (milliseconds since EPOCH UTC)
|
long |
getDispatched()
Gets the value specifying when the message was dispatched to the user from the sdk (milliseconds since EPOCH UTC)
|
long |
getReceived()
Gets the value specifying when the message was received for processing by the sdk (milliseconds since EPOCH UTC)
|
long |
getSent()
Gets the value specifying when the message was sent from the rabbit server (milliseconds since EPOCH UTC)
|
public MessageTimestampImpl(long created, long sent, long received, long dispatched)
public MessageTimestampImpl(long timestamp)
public long getCreated()
getCreated
in interface MessageTimestamp
public long getSent()
getSent
in interface MessageTimestamp
public long getReceived()
getReceived
in interface MessageTimestamp
public long getDispatched()
getDispatched
in interface MessageTimestamp
Copyright © 2016–2025. All rights reserved.