@InterfaceAudience.Public
public class ZooKeeperServerMain
extends java.lang.Object
| Constructor and Description |
|---|
ZooKeeperServerMain() |
| Modifier and Type | Method and Description |
|---|---|
static void |
main(java.lang.String[] args) |
void |
runFromConfig(org.apache.zookeeper.server.ServerConfig config)
Run from a ServerConfig.
|
public static void main(java.lang.String[] args)
public void runFromConfig(org.apache.zookeeper.server.ServerConfig config)
throws java.io.IOException,
org.apache.zookeeper.server.admin.AdminServer.AdminServerException
config - ServerConfig to use.java.io.IOExceptionorg.apache.zookeeper.server.admin.AdminServer.AdminServerExceptionCopyright © 2018 The Apache Software Foundation