voldemort.tools.admin.command
Class AdminCommandStream

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

public class AdminCommandStream
extends AbstractAdminCommand

Implements all stream commands.


Nested Class Summary
static class AdminCommandStream.SubCommandStreamFetchEntries
          stream fetch-entries command
static class AdminCommandStream.SubCommandStreamFetchKeys
          stream fetch-keys command
static class AdminCommandStream.SubCommandStreamMirror
          stream mirror command
static class AdminCommandStream.SubCommandStreamUpdateEntries
          stream update-entries command
 
Constructor Summary
AdminCommandStream()
           
 
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

AdminCommandStream

public AdminCommandStream()
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