org.apache.zookeeper.server
Class ZooKeeperServerMain
java.lang.Object
org.apache.zookeeper.server.ZooKeeperServerMain
public class ZooKeeperServerMain
- extends Object
This class starts and runs a standalone ZooKeeperServer.
Method Summary |
static void |
main(String[] args)
|
void |
runFromConfig(org.apache.zookeeper.server.ServerConfig config)
Run from a ServerConfig. |
ZooKeeperServerMain
public ZooKeeperServerMain()
main
public static void main(String[] args)
runFromConfig
public void runFromConfig(org.apache.zookeeper.server.ServerConfig config)
throws IOException
- Run from a ServerConfig.
- Parameters:
config
- ServerConfig to use.
- Throws:
IOException
Copyright © 2009 The Apache Software Foundation