|
|||||||||
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 | |
---|---|
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. |
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. |
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 timestamp, in milliseconds, specifies the time just before a message was dispatched to the application for processing.
long getOutTs()
This timestamp is the same timestamp as the 'send' timestamp but in milliseconds.
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 |