voldemort.tools.admin.command
Class AdminCommandAsyncJob

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

public class AdminCommandAsyncJob
extends AbstractAdminCommand

Implements all admin async-job commands.


Nested Class Summary
static class AdminCommandAsyncJob.SubCommandAsyncJobList
          async-job list command
static class AdminCommandAsyncJob.SubCommandAsyncJobStop
          async-job stop command
 
Constructor Summary
AdminCommandAsyncJob()
           
 
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

AdminCommandAsyncJob

public AdminCommandAsyncJob()
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.io.IOException
Parses command-line input and prints help menu.

Throws:
java.io.IOException


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