org.apache.storm.shade.org.apache.zookeeper

## 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 and Description
    `ZkCli()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    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.

    - ### Methods inherited from class java.lang.Object

      `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- - ### Constructor Detail

    - #### ZkCli

          public ZkCli()

  - ### 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 interface `AdminCommands.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 interface `AdminCommands.AdminCommand`

Copyright © 2019 The Apache Software Foundation. All rights reserved.