public class ZooKeeperServerController extends Object
Constructor and Description |
---|
ZooKeeperServerController(QuorumPeerConfig config) |
Modifier and Type | Method and Description |
---|---|
protected ServerCnxnFactory |
getCnxnFactory() |
boolean |
isReady() |
void |
processCommand(ControlCommand command)
Process the command.
|
void |
run() |
void |
shutdown() |
public ZooKeeperServerController(QuorumPeerConfig config) throws IOException
IOException
public void run()
protected ServerCnxnFactory getCnxnFactory()
public void shutdown()
public boolean isReady()
public void processCommand(ControlCommand command)
Copyright © 2008–2021 The Apache Software Foundation. All rights reserved.