|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectvoldemort.client.protocol.admin.AdminClient.StoreManagementOperations
public class AdminClient.StoreManagementOperations
Encapsulates all operations related to store management (addition, deletion)
| Constructor Summary | |
|---|---|
AdminClient.StoreManagementOperations()
|
|
| Method Summary | |
|---|---|
void |
addStore(StoreDefinition def)
Add a new store definition to all active nodes in the cluster. |
void |
addStore(StoreDefinition def,
java.util.Collection<java.lang.Integer> nodeIds)
|
void |
addStore(StoreDefinition def,
int nodeId)
Add a new store definition to a particular node |
void |
deleteStore(java.lang.String storeName)
Delete a store from all active nodes in the cluster |
void |
deleteStore(java.lang.String storeName,
int nodeId)
Delete a store from a particular node |
void |
deleteStore(java.lang.String storeName,
java.util.List<java.lang.Integer> nodeIds)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AdminClient.StoreManagementOperations()
| Method Detail |
|---|
public void addStore(StoreDefinition def)
def - the definition of the store to add
public void addStore(StoreDefinition def,
int nodeId)
def - the definition of the store to addnodeId - Node on which to add the store
public void addStore(StoreDefinition def,
java.util.Collection<java.lang.Integer> nodeIds)
public void deleteStore(java.lang.String storeName)
storeName - name of the store to delete
public void deleteStore(java.lang.String storeName,
int nodeId)
storeName - name of the store to deletenodeId - Node on which we want to delete a store
public void deleteStore(java.lang.String storeName,
java.util.List<java.lang.Integer> nodeIds)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||