public class ZooKeeperServerMain
extends java.lang.Object
| Constructor and Description |
|---|
ZooKeeperServerMain() |
| Modifier and Type | Method and 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.ConfigExceptionjava.io.IOExceptionpublic void runFromConfig(ServerConfig config) throws java.io.IOException
config - ServerConfig to use.java.io.IOExceptionprotected void shutdown()
Copyright © 2016 The Apache Software Foundation