Class CommandExecutor


  • public class CommandExecutor
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      CommandExecutor()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean execute​(ServerCnxn serverCnxn, java.io.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,
                               java.io.PrintWriter pwriter,
                               int commandCode,
                               ZooKeeperServer zkServer,
                               ServerCnxnFactory factory)
        This class decides which command to be executed and then executes