voldemort.tools.admin.command
Class AdminCommandOther.SubCommandRestoreFromReplica
java.lang.Object
voldemort.tools.admin.command.AbstractAdminCommand
voldemort.tools.admin.command.AdminCommandOther.SubCommandRestoreFromReplica
- Enclosing class:
- AdminCommandOther
public static class AdminCommandOther.SubCommandRestoreFromReplica
- extends AbstractAdminCommand
restore-from-replica command
Method Summary |
static void |
executeCommand(java.lang.String[] args)
Parses command-line and restores from peer replication |
protected static joptsimple.OptionParser |
getParser()
Initializes parser |
static void |
printHelp(java.io.PrintStream stream)
Prints help menu for command. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AdminCommandOther.SubCommandRestoreFromReplica
public AdminCommandOther.SubCommandRestoreFromReplica()
getParser
protected static joptsimple.OptionParser getParser()
- Initializes parser
- Returns:
- OptionParser object with all available options
printHelp
public static void printHelp(java.io.PrintStream stream)
throws java.io.IOException
- Prints help menu for command.
- Parameters:
stream
- PrintStream object for output
- Throws:
java.io.IOException
executeCommand
public static void executeCommand(java.lang.String[] args)
throws java.io.IOException
- Parses command-line and restores from peer replication
- Parameters:
args
- Command-line input
- Throws:
java.io.IOException
Jay Kreps, Roshan Sumbaly, Alex Feinberg, Bhupesh Bansal, Lei Gao, Chinmay Soman, Vinoth Chandar, Zhongjie Wu