|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRogMetadata
Defines the metadata associated with an ROG node.
Method Summary | |
---|---|
long |
getEnqueueTs()
Get a message's enqueue timestamp in milliseconds. |
long |
getEnqueueTsMicros()
Get a message's enqueue timestamp. |
int |
getGraphId()
Get the object graph to which a graph node belongs |
boolean |
getInMsgsInTransaction()
Get whether there are inbound messages in the transaction |
boolean |
getIsInboundMessage()
Get whether a node is an inbound message (dispatched to app) |
boolean |
getIsInternal()
Get whether a node type is for internal platform use |
boolean |
getIsLastTransaction()
Get whether a node is contained in the last application transaction |
boolean |
getIsMessage()
Get whether a node is a message (send or received) |
boolean |
getIsOutboundMessage()
Get whether a node is an outbound message (sent by app) |
boolean |
getIsReplayedMessage()
Get whether a node was replayed from the recovery log |
String |
getMessageBus()
This method returns the bus associated with a message. |
String |
getMessageChannel()
This method returns the channel associated with a message. |
int |
getMessageFlow()
Returns the system-wide unique flow id. |
String |
getMessageKey()
This method returns the key associated with a message. |
int |
getMessageSender()
Returns the system-wide unique sender id. |
long |
getMessageSequenceNumber()
Get the message sequence number. |
boolean |
getOutMsgsInTransaction()
Get whether there are outbound messages in the transaction |
long |
getOutTs()
Get a message's out timestamp in milliseconds. |
long |
getOutTsMicros()
Get a message's out timestamp in microseconds. |
com.eaio.uuid.UUID |
getParentId()
Get the object id of an ROG node's parent node. |
long |
getPreProcessingTs()
Get a message's pre-processing timestamp in milliseconds. |
long |
getPreProcessingTsMicros()
Get a message's pre-processing timestamp. |
int |
getTransactionInSequenceNumber()
Get a message node's transaction inbound sequence number. |
int |
getTransactionOutSequenceNumber()
Get a message node's transaction outbound sequence number. |
boolean |
isPossibleDuplicate()
See MessageView.isPossibleDuplicate() |
String |
metadataToJsonString()
Gets a string representation of the metadat in json format with the configured value for nv.ident.json dictating whether the json string is indented. |
String |
metadataToJsonString(boolean indentOutput)
Gets a string representation of the metadat in json format. |
String |
metadataToString()
Gets a string representation of a node's metadata. |
Method Detail |
---|
int getGraphId()
com.eaio.uuid.UUID getParentId()
Each ROG node is uniquely identified in the system using a UUID. This method method returns the object id of an ROG node's parent object.
int getTransactionInSequenceNumber()
An application transaction can span multiple inbound and/or outbound messages. This field stores the inbound sequence number of a message relative to its transaction. If the message is an inbound message, then this field is the sequence number of the inbound messages within the transaction. If the message is an outbound message, then this field is the sequence number of the inbound message that triggered the outbound message. If no message triggered the outbound message, then this field would be 0.
int getTransactionOutSequenceNumber()
An application transaction can span multiple inbound and/or outbound messages. This field stores the outbound sequence number of a message relative to its transaction. If the message is an inbound message, then this field is always 0. If the message is an outbound message, then this field is the sequence number of the outbound message within the set of outbound messages in the transaction.
long getPreProcessingTs()
This value is the same as getPreProcessingTsMicros()
/ 1000.
getPreProcessingTsMicros()
long getPreProcessingTsMicros()
This timestamp, in microseconds, specifies the time just before a message was dispatched to the application for processing.
long getOutTs()
This value is the same as getOutTsMicros()
/ 1000.
getOutTsMicros()
long getOutTsMicros()
This timestamp is the same timestamp as which an application called send to initiate the send for the message.
long getEnqueueTs()
This timestamp is the same as getEnqueueTsMicros()
/ 1000.
getEnqueueTsMicros()
long getEnqueueTsMicros()
This timestamp, in microseconds, specifies the time just before a message was enqueued on an application's input queue. This timestamp can be compared with
boolean getIsInternal()
boolean getIsLastTransaction()
boolean getIsMessage()
boolean getIsInboundMessage()
boolean getIsOutboundMessage()
boolean getIsReplayedMessage()
boolean getInMsgsInTransaction()
boolean getOutMsgsInTransaction()
boolean isPossibleDuplicate()
MessageView.isPossibleDuplicate()
String getMessageBus()
String getMessageChannel()
String getMessageKey()
int getMessageSender()
getMessageSequenceNumber()
are scoped by sender.
int getMessageFlow()
long getMessageSequenceNumber()
String metadataToString()
String metadataToJsonString(boolean indentOutput)
indentOutput
- Whether or not to indent the output.
String metadataToJsonString()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |