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.AdminCommand
Run the command, this will be called at most once.
run
in interface AdminCommands.AdminCommand
Exception
public void printCliHelp(String command, PrintStream out)
AdminCommands.AdminCommand
Print a help message to out. typically this should be in the form of. command arguments: description of command argument - description
printCliHelp
in interface AdminCommands.AdminCommand
Copyright © 2020 The Apache Software Foundation. All rights reserved.