voldemort.tools.admin.command
Class AdminCommandStore

java.lang.Object
  extended by voldemort.tools.admin.command.AbstractAdminCommand
      extended by voldemort.tools.admin.command.AdminCommandStore

public class AdminCommandStore
extends AbstractAdminCommand

Implements all functionality of admin store operations.


Nested Class Summary
static class AdminCommandStore.SubCommandStoreAdd
          store add command
static class AdminCommandStore.SubCommandStoreDelete
          store delete command
static class AdminCommandStore.SubCommandStoreRollbackReadOnly
          store rollback-ro command
static class AdminCommandStore.SubCommandStoreTruncatePartition
          store truncate-partition command
static class AdminCommandStore.SubCommandStoreTruncateStore
          store truncate-store command
 
Constructor Summary
AdminCommandStore()
           
 
Method Summary
static void executeCommand(java.lang.String[] args)
          Parses command-line and directs to sub-commands.
static void executeHelp(java.lang.String[] args, java.io.PrintStream stream)
          Parses command-line input and prints help menu.
static void printHelp(java.io.PrintStream stream)
          Prints command-line help menu.
 
Methods inherited from class voldemort.tools.admin.command.AbstractAdminCommand
getParser
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdminCommandStore

public AdminCommandStore()
Method Detail

executeCommand

public static void executeCommand(java.lang.String[] args)
                           throws java.lang.Exception
Parses command-line and directs to sub-commands.

Parameters:
args - Command-line input
Throws:
java.lang.Exception

printHelp

public static void printHelp(java.io.PrintStream stream)
Prints command-line help menu.


executeHelp

public static void executeHelp(java.lang.String[] args,
                               java.io.PrintStream stream)
                        throws java.lang.Exception
Parses command-line input and prints help menu.

Throws:
java.lang.Exception


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