Class ZooKeeperServerMain


  • @Public
    public class ZooKeeperServerMain
    extends java.lang.Object
    This class starts and runs a standalone ZooKeeperServer.
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      void runFromConfig​(org.apache.zookeeper.server.ServerConfig config)
      Run from a ServerConfig.
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ZooKeeperServerMain

        public ZooKeeperServerMain()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • runFromConfig

        public void runFromConfig​(org.apache.zookeeper.server.ServerConfig config)
                           throws java.io.IOException
        Run from a ServerConfig.
        Parameters:
        config - ServerConfig to use.
        Throws:
        java.io.IOException