Package com.atlassian.jira.cluster.dbr
Class DBRMessage<T>
java.lang.Object
com.atlassian.jira.cluster.dbr.DBRMessage<T>
- All Implemented Interfaces:
Serializable
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionlonggetCost()cost of the indexing operations covered by this DBR messagelongmessage create timestamp (local source node time), can be used to determine TTL (note: the Document contains the common db update time)com.atlassian.jira.cluster.dbr.DBRMessageDataSerialized<T> getIndex()com.atlassian.jira.cluster.dbr.DBRMessage.Operationnode id of the node the document was createdinttoString()
-
Method Details
-
getIndex
-
getOperation
public com.atlassian.jira.cluster.dbr.DBRMessage.Operation getOperation() -
getEntityId
-
getEntityVersion
-
getDbrMessageDataSerialized
-
messageSize
public int messageSize()- Returns:
- estimated message size in bytes
-
getSourceNode
node id of the node the document was created -
getCreatedLocalTimestamp
public long getCreatedLocalTimestamp()message create timestamp (local source node time), can be used to determine TTL (note: the Document contains the common db update time) -
getCost
public long getCost()cost of the indexing operations covered by this DBR message -
toString
-