Class ZkCli
- java.lang.Object
-
- org.apache.storm.shade.org.apache.zookeeper.ZkCli
-
- All Implemented Interfaces:
AdminCommands.AdminCommand
public class ZkCli extends Object implements AdminCommands.AdminCommand
-
-
Constructor Summary
Constructors Constructor Description ZkCli()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Method Detail
-
run
public void run(String[] args, Map<String,Object> conf, String command) throws Exception
Description copied from interface:AdminCommands.AdminCommand
Run the command, this will be called at most once.- Specified by:
run
in interfaceAdminCommands.AdminCommand
- Throws:
Exception
-
printCliHelp
public void printCliHelp(String command, PrintStream out)
Description copied from interface:AdminCommands.AdminCommand
Print a help message to out. typically this should be in the form of. command arguments: description of command argument - description- Specified by:
printCliHelp
in interfaceAdminCommands.AdminCommand
-
-