com.atlassian.jira.index.ha
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
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ENTITY_NAME
public static final String ENTITY_NAME
- See Also:
- Constant Field Values
ID
public static final String ID
- See Also:
- Constant Field Values
VIEW_NAME
public static final String VIEW_NAME
- See Also:
- Constant Field Values
NODE_ID
public static final String NODE_ID
- See Also:
- Constant Field Values
SENDING_NODE_ID
public static final String SENDING_NODE_ID
- See Also:
- Constant Field Values
INDEX_OP_ID
public static final String INDEX_OP_ID
- See Also:
- Constant Field Values
MIN
public static final String MIN
- See Also:
- Constant Field Values
OfBizNodeIndexCounterStore
public OfBizNodeIndexCounterStore(OfBizDelegator ofBizDelegator,
ClusterManager clusterManager)
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 idsendingNodeId
- Sending node IdindexOperationId
- operation id
getIndexOperationCounterForNodeId
public long getIndexOperationCounterForNodeId(String receivingNodeId,
String sendingNodeId)
- Get the highest recorded index operation for a node pair
- Parameters:
receivingNodeId
- sendingNodeId
-
- Returns:
Copyright © 2002-2014 Atlassian. All Rights Reserved.