Class OfBizNodeIndexCounterStore

java.lang.Object
com.atlassian.jira.index.ha.OfBizNodeIndexCounterStore

public class OfBizNodeIndexCounterStore extends Object
Stores the last index operation id for each node
Since:
v6.1
  • Field Details

  • Constructor Details

  • Method Details

    • storeHighestIdForNode

      public void storeHighestIdForNode(String receivingNodeId, String sendingNodeId, long indexOperationId)
      Record the highest replicated index operation processed by a node, The highest operation is recorded for each node pair
      Parameters:
      receivingNodeId - Receiving node id
      sendingNodeId - Sending node Id
      indexOperationId - operation id
    • getIndexOperationCounterForNodeId

      public long getIndexOperationCounterForNodeId(String receivingNodeId, String sendingNodeId)
      Get the highest recorded index operation for a node pair
      Parameters:
      receivingNodeId -
      sendingNodeId -
      Returns: