public class ReplicationResource extends Object
| Constructor and Description | 
|---|
ReplicationResource(ClusterManager clusterManager,
                   OfBizDelegator ofBizDelegator)  | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getPendingOperationCount()
Returns the number of pending replication operations. 
 | 
String | 
waitForAllReplicationOperations(long maxTimeToWaitMs)
Waits for all replication operations between nodes in the cluster to complete. 
 | 
String | 
waitForClusterNodes(int nodeCount,
                   long maxTimeToWaitMs)
Waits until the specified number of nodes become active in the cluster. 
 | 
public ReplicationResource(ClusterManager clusterManager, OfBizDelegator ofBizDelegator)
public String waitForAllReplicationOperations(long maxTimeToWaitMs)
maxTimeToWaitMs - the maximum amount of time to wait in milliseconds.  If nodes are not replicated
                        after this time an error is produced.public String waitForClusterNodes(int nodeCount, long maxTimeToWaitMs)
nodeCount - the number of nodes the cluster must have.maxTimeToWaitMs - the maximum amount of time to wait in milliseconds.  An error is returned if
                        the required number of nodes are not active after this time.public String getPendingOperationCount()
Copyright © 2002-2018 Atlassian. All Rights Reserved.