voldemort.client.protocol.admin
Class AdminClient.StoreManagementOperations

java.lang.Object
  extended by voldemort.client.protocol.admin.AdminClient.StoreManagementOperations
Enclosing class:
AdminClient

public class AdminClient.StoreManagementOperations
extends java.lang.Object

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

AdminClient.StoreManagementOperations

public AdminClient.StoreManagementOperations()
Method Detail

addStore

public void addStore(StoreDefinition def)
Add a new store definition to all active nodes in the cluster.

Parameters:
def - the definition of the store to add

addStore

public void addStore(StoreDefinition def,
                     int nodeId)
Add a new store definition to a particular node

Parameters:
def - the definition of the store to add
nodeId - Node on which to add the store

addStore

public void addStore(StoreDefinition def,
                     java.util.Collection<java.lang.Integer> nodeIds)

deleteStore

public void deleteStore(java.lang.String storeName)
Delete a store from all active nodes in the cluster

Parameters:
storeName - name of the store to delete

deleteStore

public void deleteStore(java.lang.String storeName,
                        int nodeId)
Delete a store from a particular node

Parameters:
storeName - name of the store to delete
nodeId - Node on which we want to delete a store

deleteStore

public void deleteStore(java.lang.String storeName,
                        java.util.List<java.lang.Integer> nodeIds)


Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu