|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectvoldemort.tools.admin.command.AbstractAdminCommand
voldemort.tools.admin.command.AdminCommandDebug.SubCommandDebugRoute
public static class AdminCommandDebug.SubCommandDebugRoute
debug route command
Constructor Summary | |
---|---|
AdminCommandDebug.SubCommandDebugRoute()
|
Method Summary | |
---|---|
static void |
doDebugRoute(AdminClient adminClient,
java.lang.String storeName,
java.util.List<java.lang.String> keyStrings,
java.lang.String keyType)
Shows detailed routing information for a given set of keys on a store. |
static void |
executeCommand(java.lang.String[] args)
Parses command-line and shows detailed routing information for a given set of keys on a store. |
protected static joptsimple.OptionParser |
getParser()
Initializes parser |
static void |
printHelp(java.io.PrintStream stream)
Prints help menu for command. |
Methods inherited from class voldemort.tools.admin.command.AbstractAdminCommand |
---|
executeHelp |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AdminCommandDebug.SubCommandDebugRoute()
Method Detail |
---|
protected static joptsimple.OptionParser getParser()
public static void printHelp(java.io.PrintStream stream) throws java.io.IOException
stream
- PrintStream object for output
java.io.IOException
public static void executeCommand(java.lang.String[] args) throws java.lang.Exception
args
- Command-line inputprintHelp
- Tells whether to print help only or execute command
actually
java.lang.Exception
public static void doDebugRoute(AdminClient adminClient, java.lang.String storeName, java.util.List<java.lang.String> keyStrings, java.lang.String keyType) throws org.apache.commons.codec.DecoderException
adminClient
- An instance of AdminClient points to given clusterstoreName
- Store that contains keyskeyStrings
- Keys to show routing plankeyType
- Format of the keys: hex
org.apache.commons.codec.DecoderException
java.io.IOException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |