public class ZkCli extends Object implements AdminCommands.AdminCommand
| Constructor and Description |
|---|
ZkCli() |
| Modifier and Type | Method and Description |
|---|---|
void |
printCliHelp(String command,
PrintStream out)
Print a help message to out.
|
void |
run(String[] args,
Map<String,Object> conf,
String command)
Run the command, this will be called at most once.
|
public void run(String[] args, Map<String,Object> conf, String command) throws Exception
AdminCommands.AdminCommandRun the command, this will be called at most once.
run in interface AdminCommands.AdminCommandExceptionpublic void printCliHelp(String command, PrintStream out)
AdminCommands.AdminCommandPrint a help message to out. typically this should be in the form of. command arguments: description of command argument - description
printCliHelp in interface AdminCommands.AdminCommandCopyright © 2021 The Apache Software Foundation. All rights reserved.