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

org.apache.zookeeper.server.command

## Class CommandExecutor

- java.lang.Object
- - org.apache.zookeeper.server.command.CommandExecutor

-     public class CommandExecutor
      extends Object

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `CommandExecutor()`

  - ### Method Summary

    All Methods Instance Methods Concrete Methods
    Modifier and Type | Method and Description
    --- | ---
    `boolean` | `execute(ServerCnxn serverCnxn, PrintWriter pwriter, int commandCode, ZooKeeperServer zkServer, ServerCnxnFactory factory)` This class decides which command to be executed and then executes

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

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

- - ### Constructor Detail

    - #### CommandExecutor

          public CommandExecutor()

  - ### Method Detail

    - #### execute

          public boolean execute(ServerCnxn serverCnxn,
                                 PrintWriter pwriter,
                                 int commandCode,
                                 ZooKeeperServer zkServer,
                                 ServerCnxnFactory factory)

      This class decides which command to be executed and then executes

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