public class ZooKeeperServerMain extends Object
| Constructor and Description |
|---|
ZooKeeperServerMain() |
| Modifier and Type | Method and Description |
|---|---|
protected void |
initializeAndRun(String[] args) |
static void |
main(String[] args) |
void |
runFromConfig(ServerConfig config)
Run from a ServerConfig.
|
protected void |
shutdown()
Shutdown the serving instance
|
public static void main(String[] args)
protected void initializeAndRun(String[] args) throws QuorumPeerConfig.ConfigException, IOException
public void runFromConfig(ServerConfig config) throws IOException
config - ServerConfig to use.IOExceptionprotected void shutdown()
Copyright © 2013 The Apache Software Foundation