Class DBRMessage<T>

java.lang.Object
com.atlassian.jira.cluster.dbr.DBRMessage<T>
All Implemented Interfaces:
Serializable

public class DBRMessage<T> extends Object implements Serializable
See Also:
  • Method Details

    • getIndex

      public IndexDirectoryFactory.Name getIndex()
    • getOperation

      public com.atlassian.jira.cluster.dbr.DBRMessage.Operation getOperation()
    • getEntityId

      public String getEntityId()
    • getEntityVersion

      public Long getEntityVersion()
    • getDbrMessageDataSerialized

      public com.atlassian.jira.cluster.dbr.DBRMessageDataSerialized<T> getDbrMessageDataSerialized()
    • messageSize

      public int messageSize()
      Returns:
      estimated message size in bytes
    • getSourceNode

      public String 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

      public String toString()
      Overrides:
      toString in class Object