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