voldemort.tools.admin.command
Class AdminCommandCleanup

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

public class AdminCommandCleanup
extends AbstractAdminCommand

Implements all cleanup commands.


Nested Class Summary
static class AdminCommandCleanup.SubCommandCleanupOrphanedData
          cleanup orphaned-data command
static class AdminCommandCleanup.SubCommandCleanupSlops
          cleanup slops command
static class AdminCommandCleanup.SubCommandCleanupVectorClocks
          cleanup vector-clocks command
 
Constructor Summary
AdminCommandCleanup()
           
 
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

AdminCommandCleanup

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