public class CommandExecutor extends Object
Constructor and Description |
---|
CommandExecutor() |
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
|
public boolean execute(ServerCnxn serverCnxn, PrintWriter pwriter, int commandCode, ZooKeeperServer zkServer, ServerCnxnFactory factory)
Copyright © 2008–2020 The Apache Software Foundation. All rights reserved.