public class OfBizNodeIndexCounterStore extends Object
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_NAME |
static String |
ID |
static String |
INDEX_OP_ID |
static String |
MIN |
static String |
NODE_ID |
static String |
SENDING_NODE_ID |
static String |
VIEW_NAME |
Constructor and Description |
---|
OfBizNodeIndexCounterStore(OfBizDelegator ofBizDelegator,
ClusterManager clusterManager) |
Modifier and Type | Method and Description |
---|---|
long |
getIndexOperationCounterForNodeId(String receivingNodeId,
String sendingNodeId)
Get the highest recorded index operation for a node pair
|
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
|
public static final String ENTITY_NAME
public static final String ID
public static final String VIEW_NAME
public static final String NODE_ID
public static final String SENDING_NODE_ID
public static final String INDEX_OP_ID
public static final String MIN
public OfBizNodeIndexCounterStore(OfBizDelegator ofBizDelegator, ClusterManager clusterManager)
public void storeHighestIdForNode(String receivingNodeId, String sendingNodeId, long indexOperationId)
receivingNodeId
- Receiving node idsendingNodeId
- Sending node IdindexOperationId
- operation idCopyright © 2002-2015 Atlassian. All Rights Reserved.