Class ZooKeeperServerMain


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

      • ZooKeeperServerMain

        public ZooKeeperServerMain()
    • Method Detail

      • main

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

        public void runFromConfig​(ServerConfig config)
                           throws java.io.IOException
        Run from a ServerConfig.
        Parameters:
        config - ServerConfig to use.
        Throws:
        java.io.IOException
      • shutdown

        protected void shutdown()
        Shutdown the serving instance