|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.client.protocol.admin.AdminClient.RestoreOperations
public class AdminClient.RestoreOperations
Encapsulates all operations to restore data in the cluster
Constructor Summary | |
---|---|
AdminClient.RestoreOperations()
|
Method Summary | |
---|---|
void |
mirrorData(int nodeId,
int nodeIdToMirrorFrom,
java.lang.String urlToMirrorFrom,
java.util.List<java.lang.String> stores)
Mirror data from another voldemort server |
void |
restoreDataFromReplications(int nodeId,
int parallelTransfers)
RestoreData from copies on other machines for the given nodeId |
void |
restoreDataFromReplications(int nodeId,
int parallelTransfers,
int zoneId)
RestoreData from copies on other machines for the given nodeId |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdminClient.RestoreOperations()
Method Detail |
---|
public void restoreDataFromReplications(int nodeId, int parallelTransfers)
Recovery mechanism to recover and restore data actively from
replicated copies in the cluster.
nodeId
- Id of the node to restoreDataparallelTransfers
- number of transfers
java.lang.InterruptedException
public void restoreDataFromReplications(int nodeId, int parallelTransfers, int zoneId)
Recovery mechanism to recover and restore data actively from
replicated copies in the cluster.
nodeId
- Id of the node to restoreDataparallelTransfers
- number of transferszoneId
- zone from which the nodes are chosen from, -1 means no
zone preference
java.lang.InterruptedException
public void mirrorData(int nodeId, int nodeIdToMirrorFrom, java.lang.String urlToMirrorFrom, java.util.List<java.lang.String> stores)
nodeId
- node in the current cluster to mirror tonodeIdToMirrorFrom
- node from which to mirror dataurlToMirrorFrom
- cluster bootstrap url to mirror fromstores
- set of stores to be mirrored
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |