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.IOException
protected void shutdown()
Copyright © 2017 The Apache Software Foundation