CloseCommand (Apache ZooKeeper - Server 3.7.0 API)
Date: 2021-03-17

org.apache.zookeeper.cli

## Class CloseCommand

- java.lang.Object
- - org.apache.zookeeper.cli.CliCommand
  - - org.apache.zookeeper.cli.CloseCommand

-     public class CloseCommand
      extends CliCommand

  close command for cli

- - ### Field Summary

    - ### Fields inherited from class org.apache.zookeeper.cli.CliCommand

      `err, out, zk`

  - ### Constructor Summary

    Constructors
    Constructor and Description
    `CloseCommand()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `exec()`
    `CliCommand` | `parse(String[] cmdArgs)` parse the command arguments

    - ### Methods inherited from class org.apache.zookeeper.cli.CliCommand

      `addToMap, getCmdStr, getOptionStr, getUsageStr, setErr, setOut, setZk`

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

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

- - ### Constructor Detail

    - #### CloseCommand

          public CloseCommand()

  - ### Method Detail

    - #### parse

          public CliCommand parse(String[] cmdArgs)
                           throws CliParseException

      Description copied from class: `CliCommand`
      parse the command arguments
      Specified by:
        `parse` in class `CliCommand`
      Returns:
        this CliCommand
      Throws:
        `CliParseException`

    - #### exec

          public boolean exec()
                       throws CliException

      Specified by:
        `exec` in class `CliCommand`
      Returns:
        true if command has watch option, false otherwise
      Throws:
        `CliException`

Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.