public class org.I0Itec.zkclient.ZkServer
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.I0Itec.zkclient.ZkServer
  super_class: java.lang.Object
{
  private static final org.slf4j.Logger LOG;
    descriptor: Lorg/slf4j/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  public static final int DEFAULT_PORT;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 2181

  public static final int DEFAULT_TICK_TIME;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 5000

  public static final int DEFAULT_MIN_SESSION_TIMEOUT;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: 10000

  private java.lang.String _dataDir;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private java.lang.String _logDir;
    descriptor: Ljava/lang/String;
    flags: (0x0002) ACC_PRIVATE

  private org.I0Itec.zkclient.IDefaultNameSpace _defaultNameSpace;
    descriptor: Lorg/I0Itec/zkclient/IDefaultNameSpace;
    flags: (0x0002) ACC_PRIVATE

  private org.apache.zookeeper.server.ZooKeeperServer _zk;
    descriptor: Lorg/apache/zookeeper/server/ZooKeeperServer;
    flags: (0x0002) ACC_PRIVATE

  private org.apache.zookeeper.server.NIOServerCnxnFactory _nioFactory;
    descriptor: Lorg/apache/zookeeper/server/NIOServerCnxnFactory;
    flags: (0x0002) ACC_PRIVATE

  private org.I0Itec.zkclient.ZkClient _zkClient;
    descriptor: Lorg/I0Itec/zkclient/ZkClient;
    flags: (0x0002) ACC_PRIVATE

  private int _port;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int _tickTime;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  private int _minSessionTimeout;
    descriptor: I
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 35
            ldc Lorg/I0Itec/zkclient/ZkServer;
            invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
            putstatic org.I0Itec.zkclient.ZkServer.LOG:Lorg/slf4j/Logger;
         1: .line 39
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>(java.lang.String, java.lang.String, org.I0Itec.zkclient.IDefaultNameSpace);
    descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/I0Itec/zkclient/IDefaultNameSpace;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=4, args_size=4
        start local 0 // org.I0Itec.zkclient.ZkServer this
        start local 1 // java.lang.String dataDir
        start local 2 // java.lang.String logDir
        start local 3 // org.I0Itec.zkclient.IDefaultNameSpace defaultNameSpace
         0: .line 54
            aload 0 /* this */
            aload 1 /* dataDir */
            aload 2 /* logDir */
            aload 3 /* defaultNameSpace */
            sipush 2181
            invokespecial org.I0Itec.zkclient.ZkServer.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/I0Itec/zkclient/IDefaultNameSpace;I)V
         1: .line 55
            return
        end local 3 // org.I0Itec.zkclient.IDefaultNameSpace defaultNameSpace
        end local 2 // java.lang.String logDir
        end local 1 // java.lang.String dataDir
        end local 0 // org.I0Itec.zkclient.ZkServer this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    2     0              this  Lorg/I0Itec/zkclient/ZkServer;
            0    2     1           dataDir  Ljava/lang/String;
            0    2     2            logDir  Ljava/lang/String;
            0    2     3  defaultNameSpace  Lorg/I0Itec/zkclient/IDefaultNameSpace;
    MethodParameters:
                  Name  Flags
      dataDir           
      logDir            
      defaultNameSpace  

  public void <init>(java.lang.String, java.lang.String, org.I0Itec.zkclient.IDefaultNameSpace, int);
    descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/I0Itec/zkclient/IDefaultNameSpace;I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=5, args_size=5
        start local 0 // org.I0Itec.zkclient.ZkServer this
        start local 1 // java.lang.String dataDir
        start local 2 // java.lang.String logDir
        start local 3 // org.I0Itec.zkclient.IDefaultNameSpace defaultNameSpace
        start local 4 // int port
         0: .line 58
            aload 0 /* this */
            aload 1 /* dataDir */
            aload 2 /* logDir */
            aload 3 /* defaultNameSpace */
            iload 4 /* port */
            sipush 5000
            invokespecial org.I0Itec.zkclient.ZkServer.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/I0Itec/zkclient/IDefaultNameSpace;II)V
         1: .line 59
            return
        end local 4 // int port
        end local 3 // org.I0Itec.zkclient.IDefaultNameSpace defaultNameSpace
        end local 2 // java.lang.String logDir
        end local 1 // java.lang.String dataDir
        end local 0 // org.I0Itec.zkclient.ZkServer this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    2     0              this  Lorg/I0Itec/zkclient/ZkServer;
            0    2     1           dataDir  Ljava/lang/String;
            0    2     2            logDir  Ljava/lang/String;
            0    2     3  defaultNameSpace  Lorg/I0Itec/zkclient/IDefaultNameSpace;
            0    2     4              port  I
    MethodParameters:
                  Name  Flags
      dataDir           
      logDir            
      defaultNameSpace  
      port              

  public void <init>(java.lang.String, java.lang.String, org.I0Itec.zkclient.IDefaultNameSpace, int, int);
    descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/I0Itec/zkclient/IDefaultNameSpace;II)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=7, locals=6, args_size=6
        start local 0 // org.I0Itec.zkclient.ZkServer this
        start local 1 // java.lang.String dataDir
        start local 2 // java.lang.String logDir
        start local 3 // org.I0Itec.zkclient.IDefaultNameSpace defaultNameSpace
        start local 4 // int port
        start local 5 // int tickTime
         0: .line 62
            aload 0 /* this */
            aload 1 /* dataDir */
            aload 2 /* logDir */
            aload 3 /* defaultNameSpace */
            iload 4 /* port */
            iload 5 /* tickTime */
            sipush 10000
            invokespecial org.I0Itec.zkclient.ZkServer.<init>:(Ljava/lang/String;Ljava/lang/String;Lorg/I0Itec/zkclient/IDefaultNameSpace;III)V
         1: .line 63
            return
        end local 5 // int tickTime
        end local 4 // int port
        end local 3 // org.I0Itec.zkclient.IDefaultNameSpace defaultNameSpace
        end local 2 // java.lang.String logDir
        end local 1 // java.lang.String dataDir
        end local 0 // org.I0Itec.zkclient.ZkServer this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    2     0              this  Lorg/I0Itec/zkclient/ZkServer;
            0    2     1           dataDir  Ljava/lang/String;
            0    2     2            logDir  Ljava/lang/String;
            0    2     3  defaultNameSpace  Lorg/I0Itec/zkclient/IDefaultNameSpace;
            0    2     4              port  I
            0    2     5          tickTime  I
    MethodParameters:
                  Name  Flags
      dataDir           
      logDir            
      defaultNameSpace  
      port              
      tickTime          

  public void <init>(java.lang.String, java.lang.String, org.I0Itec.zkclient.IDefaultNameSpace, int, int, int);
    descriptor: (Ljava/lang/String;Ljava/lang/String;Lorg/I0Itec/zkclient/IDefaultNameSpace;III)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=7, args_size=7
        start local 0 // org.I0Itec.zkclient.ZkServer this
        start local 1 // java.lang.String dataDir
        start local 2 // java.lang.String logDir
        start local 3 // org.I0Itec.zkclient.IDefaultNameSpace defaultNameSpace
        start local 4 // int port
        start local 5 // int tickTime
        start local 6 // int minSessionTimeout
         0: .line 65
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 66
            aload 0 /* this */
            aload 1 /* dataDir */
            putfield org.I0Itec.zkclient.ZkServer._dataDir:Ljava/lang/String;
         2: .line 67
            aload 0 /* this */
            aload 2 /* logDir */
            putfield org.I0Itec.zkclient.ZkServer._logDir:Ljava/lang/String;
         3: .line 68
            aload 0 /* this */
            aload 3 /* defaultNameSpace */
            putfield org.I0Itec.zkclient.ZkServer._defaultNameSpace:Lorg/I0Itec/zkclient/IDefaultNameSpace;
         4: .line 69
            aload 0 /* this */
            iload 4 /* port */
            putfield org.I0Itec.zkclient.ZkServer._port:I
         5: .line 70
            aload 0 /* this */
            iload 5 /* tickTime */
            putfield org.I0Itec.zkclient.ZkServer._tickTime:I
         6: .line 71
            aload 0 /* this */
            iload 6 /* minSessionTimeout */
            putfield org.I0Itec.zkclient.ZkServer._minSessionTimeout:I
         7: .line 72
            return
        end local 6 // int minSessionTimeout
        end local 5 // int tickTime
        end local 4 // int port
        end local 3 // org.I0Itec.zkclient.IDefaultNameSpace defaultNameSpace
        end local 2 // java.lang.String logDir
        end local 1 // java.lang.String dataDir
        end local 0 // org.I0Itec.zkclient.ZkServer this
      LocalVariableTable:
        Start  End  Slot               Name  Signature
            0    8     0               this  Lorg/I0Itec/zkclient/ZkServer;
            0    8     1            dataDir  Ljava/lang/String;
            0    8     2             logDir  Ljava/lang/String;
            0    8     3   defaultNameSpace  Lorg/I0Itec/zkclient/IDefaultNameSpace;
            0    8     4               port  I
            0    8     5           tickTime  I
            0    8     6  minSessionTimeout  I
    MethodParameters:
                   Name  Flags
      dataDir            
      logDir             
      defaultNameSpace   
      port               
      tickTime           
      minSessionTimeout  

  public int getPort();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.I0Itec.zkclient.ZkServer this
         0: .line 75
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._port:I
            ireturn
        end local 0 // org.I0Itec.zkclient.ZkServer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/I0Itec/zkclient/ZkServer;

  public void start();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=5, args_size=1
        start local 0 // org.I0Itec.zkclient.ZkServer this
         0: .line 80
            invokestatic org.I0Itec.zkclient.NetworkUtil.getLocalHostNames:()[Ljava/lang/String;
            astore 1 /* localHostNames */
        start local 1 // java.lang.String[] localHostNames
         1: .line 81
            ldc ""
            astore 2 /* names */
        start local 2 // java.lang.String names
         2: .line 82
            iconst_0
            istore 3 /* i */
        start local 3 // int i
         3: goto 9
         4: .line 83
      StackMap locals: java.lang.String[] java.lang.String int
      StackMap stack:
            aload 1 /* localHostNames */
            iload 3 /* i */
            aaload
            astore 4 /* name */
        start local 4 // java.lang.String name
         5: .line 84
            new java.lang.StringBuilder
            dup
            aload 2 /* names */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc " "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 4 /* name */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* names */
         6: .line 85
            iload 3 /* i */
            iconst_1
            iadd
            aload 1 /* localHostNames */
            arraylength
            if_icmpeq 8
         7: .line 86
            new java.lang.StringBuilder
            dup
            aload 2 /* names */
            invokestatic java.lang.String.valueOf:(Ljava/lang/Object;)Ljava/lang/String;
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc ","
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* names */
        end local 4 // java.lang.String name
         8: .line 82
      StackMap locals:
      StackMap stack:
            iinc 3 /* i */ 1
      StackMap locals:
      StackMap stack:
         9: iload 3 /* i */
            aload 1 /* localHostNames */
            arraylength
            if_icmplt 4
        end local 3 // int i
        10: .line 89
            getstatic org.I0Itec.zkclient.ZkServer.LOG:Lorg/slf4j/Logger;
            new java.lang.StringBuilder
            dup
            ldc "Starting ZkServer on: ["
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* names */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc "] port "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._port:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc "..."
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
        11: .line 91
            aload 0 /* this */
            invokevirtual org.I0Itec.zkclient.ZkServer.startZooKeeperServer:()V
        12: .line 92
            aload 0 /* this */
            new org.I0Itec.zkclient.ZkClient
            dup
            new java.lang.StringBuilder
            dup
            ldc "localhost:"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._port:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            sipush 10000
            invokespecial org.I0Itec.zkclient.ZkClient.<init>:(Ljava/lang/String;I)V
            putfield org.I0Itec.zkclient.ZkServer._zkClient:Lorg/I0Itec/zkclient/ZkClient;
        13: .line 93
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._defaultNameSpace:Lorg/I0Itec/zkclient/IDefaultNameSpace;
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._zkClient:Lorg/I0Itec/zkclient/ZkClient;
            invokeinterface org.I0Itec.zkclient.IDefaultNameSpace.createDefaultNameSpace:(Lorg/I0Itec/zkclient/ZkClient;)V
        14: .line 94
            goto 18
      StackMap locals: org.I0Itec.zkclient.ZkServer java.lang.String[] java.lang.String
      StackMap stack: java.lang.RuntimeException
        15: astore 3 /* e */
        start local 3 // java.lang.RuntimeException e
        16: .line 95
            aload 0 /* this */
            invokevirtual org.I0Itec.zkclient.ZkServer.shutdown:()V
        17: .line 96
            aload 3 /* e */
            athrow
        end local 3 // java.lang.RuntimeException e
        18: .line 98
      StackMap locals:
      StackMap stack:
            return
        end local 2 // java.lang.String names
        end local 1 // java.lang.String[] localHostNames
        end local 0 // org.I0Itec.zkclient.ZkServer this
      LocalVariableTable:
        Start  End  Slot            Name  Signature
            0   19     0            this  Lorg/I0Itec/zkclient/ZkServer;
            1   19     1  localHostNames  [Ljava/lang/String;
            2   19     2           names  Ljava/lang/String;
            3   10     3               i  I
            5    8     4            name  Ljava/lang/String;
           16   18     3               e  Ljava/lang/RuntimeException;
      Exception table:
        from    to  target  type
          11    14      15  Class java.lang.RuntimeException
    RuntimeVisibleAnnotations: 
      javax.annotation.PostConstruct()

  private void startZooKeeperServer();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=5, locals=9, args_size=1
        start local 0 // org.I0Itec.zkclient.ZkServer this
         0: .line 101
            invokestatic org.I0Itec.zkclient.NetworkUtil.getLocalHostNames:()[Ljava/lang/String;
            astore 1 /* localhostHostNames */
        start local 1 // java.lang.String[] localhostHostNames
         1: .line 102
            new java.lang.StringBuilder
            dup
            ldc "localhost:"
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._port:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            astore 2 /* servers */
        start local 2 // java.lang.String servers
         2: .line 104
            iconst_m1
            istore 3 /* pos */
        start local 3 // int pos
         3: .line 105
            getstatic org.I0Itec.zkclient.ZkServer.LOG:Lorg/slf4j/Logger;
            new java.lang.StringBuilder
            dup
            ldc "check if hostNames "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 2 /* servers */
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            ldc " is in list: "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 1 /* localhostHostNames */
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/Object;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface org.slf4j.Logger.debug:(Ljava/lang/String;)V
         4: .line 106
            aload 2 /* servers */
            aload 1 /* localhostHostNames */
            invokestatic org.I0Itec.zkclient.NetworkUtil.hostNamesInList:(Ljava/lang/String;[Ljava/lang/String;)I
            dup
            istore 3 /* pos */
            iconst_m1
            if_icmpeq 25
         5: .line 108
            aload 2 /* servers */
            ldc ","
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 4 /* hosts */
        start local 4 // java.lang.String[] hosts
         6: .line 109
            aload 4 /* hosts */
            iload 3 /* pos */
            aaload
            ldc ":"
            invokevirtual java.lang.String.split:(Ljava/lang/String;)[Ljava/lang/String;
            astore 5 /* hostSplitted */
        start local 5 // java.lang.String[] hostSplitted
         7: .line 110
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._port:I
            istore 6 /* port */
        start local 6 // int port
         8: .line 111
            aload 5 /* hostSplitted */
            arraylength
            iconst_1
            if_icmple 10
         9: .line 112
            aload 5 /* hostSplitted */
            iconst_1
            aaload
            invokestatic java.lang.Integer.parseInt:(Ljava/lang/String;)I
            istore 6 /* port */
        10: .line 115
      StackMap locals: org.I0Itec.zkclient.ZkServer java.lang.String[] java.lang.String int java.lang.String[] java.lang.String[] int
      StackMap stack:
            iload 6 /* port */
            invokestatic org.I0Itec.zkclient.NetworkUtil.isPortFree:(I)Z
            ifeq 24
        11: .line 116
            new java.io.File
            dup
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._dataDir:Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            astore 7 /* dataDir */
        start local 7 // java.io.File dataDir
        12: .line 117
            new java.io.File
            dup
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._logDir:Ljava/lang/String;
            invokespecial java.io.File.<init>:(Ljava/lang/String;)V
            astore 8 /* dataLogDir */
        start local 8 // java.io.File dataLogDir
        13: .line 118
            aload 7 /* dataDir */
            invokevirtual java.io.File.mkdirs:()Z
            pop
        14: .line 119
            aload 8 /* dataLogDir */
            invokevirtual java.io.File.mkdirs:()Z
            pop
        15: .line 121
            aload 4 /* hosts */
            arraylength
            iconst_1
            if_icmple 18
        16: .line 123
            getstatic org.I0Itec.zkclient.ZkServer.LOG:Lorg/slf4j/Logger;
            ldc "Start distributed zookeeper server..."
            invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
        17: .line 124
            new java.lang.IllegalArgumentException
            dup
            ldc "Unable to start distributed zookeeper server"
            invokespecial java.lang.IllegalArgumentException.<init>:(Ljava/lang/String;)V
            athrow
        18: .line 127
      StackMap locals: java.io.File java.io.File
      StackMap stack:
            getstatic org.I0Itec.zkclient.ZkServer.LOG:Lorg/slf4j/Logger;
            ldc "Start single zookeeper server..."
            invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
        19: .line 128
            getstatic org.I0Itec.zkclient.ZkServer.LOG:Lorg/slf4j/Logger;
            new java.lang.StringBuilder
            dup
            ldc "data dir: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 7 /* dataDir */
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
        20: .line 129
            getstatic org.I0Itec.zkclient.ZkServer.LOG:Lorg/slf4j/Logger;
            new java.lang.StringBuilder
            dup
            ldc "data log dir: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 8 /* dataLogDir */
            invokevirtual java.io.File.getAbsolutePath:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
        21: .line 130
            getstatic org.I0Itec.zkclient.ZkServer.LOG:Lorg/slf4j/Logger;
            new java.lang.StringBuilder
            dup
            ldc "JAAS login file: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            ldc "java.security.auth.login.config"
            ldc "none"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
        22: .line 131
            aload 0 /* this */
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._tickTime:I
            aload 7 /* dataDir */
            aload 8 /* dataLogDir */
            iload 6 /* port */
            invokevirtual org.I0Itec.zkclient.ZkServer.startSingleZkServer:(ILjava/io/File;Ljava/io/File;I)V
        end local 8 // java.io.File dataLogDir
        end local 7 // java.io.File dataDir
        23: .line 132
            goto 25
        24: .line 133
      StackMap locals:
      StackMap stack:
            new java.lang.IllegalStateException
            dup
            new java.lang.StringBuilder
            dup
            ldc "Zookeeper port "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            iload 6 /* port */
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " was already in use. Running in single machine mode?"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        end local 6 // int port
        end local 5 // java.lang.String[] hostSplitted
        end local 4 // java.lang.String[] hosts
        25: .line 136
      StackMap locals:
      StackMap stack:
            return
        end local 3 // int pos
        end local 2 // java.lang.String servers
        end local 1 // java.lang.String[] localhostHostNames
        end local 0 // org.I0Itec.zkclient.ZkServer this
      LocalVariableTable:
        Start  End  Slot                Name  Signature
            0   26     0                this  Lorg/I0Itec/zkclient/ZkServer;
            1   26     1  localhostHostNames  [Ljava/lang/String;
            2   26     2             servers  Ljava/lang/String;
            3   26     3                 pos  I
            6   25     4               hosts  [Ljava/lang/String;
            7   25     5        hostSplitted  [Ljava/lang/String;
            8   25     6                port  I
           12   23     7             dataDir  Ljava/io/File;
           13   23     8          dataLogDir  Ljava/io/File;

  private void startSingleZkServer(int, java.io.File, java.io.File, int);
    descriptor: (ILjava/io/File;Ljava/io/File;I)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=6, locals=6, args_size=5
        start local 0 // org.I0Itec.zkclient.ZkServer this
        start local 1 // int tickTime
        start local 2 // java.io.File dataDir
        start local 3 // java.io.File dataLogDir
        start local 4 // int port
         0: .line 140
            aload 0 /* this */
            new org.apache.zookeeper.server.ZooKeeperServer
            dup
            aload 2 /* dataDir */
            aload 3 /* dataLogDir */
            iload 1 /* tickTime */
            invokespecial org.apache.zookeeper.server.ZooKeeperServer.<init>:(Ljava/io/File;Ljava/io/File;I)V
            putfield org.I0Itec.zkclient.ZkServer._zk:Lorg/apache/zookeeper/server/ZooKeeperServer;
         1: .line 141
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._zk:Lorg/apache/zookeeper/server/ZooKeeperServer;
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._minSessionTimeout:I
            invokevirtual org.apache.zookeeper.server.ZooKeeperServer.setMinSessionTimeout:(I)V
         2: .line 142
            aload 0 /* this */
            new org.apache.zookeeper.server.NIOServerCnxnFactory
            dup
            invokespecial org.apache.zookeeper.server.NIOServerCnxnFactory.<init>:()V
            putfield org.I0Itec.zkclient.ZkServer._nioFactory:Lorg/apache/zookeeper/server/NIOServerCnxnFactory;
         3: .line 143
            iconst_0
            istore 5 /* maxClientConnections */
        start local 5 // int maxClientConnections
         4: .line 144
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._nioFactory:Lorg/apache/zookeeper/server/NIOServerCnxnFactory;
            new java.net.InetSocketAddress
            dup
            iload 4 /* port */
            invokespecial java.net.InetSocketAddress.<init>:(I)V
            iload 5 /* maxClientConnections */
            invokevirtual org.apache.zookeeper.server.NIOServerCnxnFactory.configure:(Ljava/net/InetSocketAddress;I)V
         5: .line 145
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._nioFactory:Lorg/apache/zookeeper/server/NIOServerCnxnFactory;
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._zk:Lorg/apache/zookeeper/server/ZooKeeperServer;
            invokevirtual org.apache.zookeeper.server.NIOServerCnxnFactory.startup:(Lorg/apache/zookeeper/server/ZooKeeperServer;)V
        end local 5 // int maxClientConnections
         6: .line 146
            goto 11
      StackMap locals:
      StackMap stack: java.io.IOException
         7: astore 5 /* e */
        start local 5 // java.io.IOException e
         8: .line 147
            new org.I0Itec.zkclient.exception.ZkException
            dup
            ldc "Unable to start single ZooKeeper server."
            aload 5 /* e */
            invokespecial org.I0Itec.zkclient.exception.ZkException.<init>:(Ljava/lang/String;Ljava/lang/Throwable;)V
            athrow
        end local 5 // java.io.IOException e
         9: .line 148
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            astore 5 /* e */
        start local 5 // java.lang.InterruptedException e
        10: .line 149
            new org.I0Itec.zkclient.exception.ZkInterruptedException
            dup
            aload 5 /* e */
            invokespecial org.I0Itec.zkclient.exception.ZkInterruptedException.<init>:(Ljava/lang/InterruptedException;)V
            athrow
        end local 5 // java.lang.InterruptedException e
        11: .line 151
      StackMap locals:
      StackMap stack:
            return
        end local 4 // int port
        end local 3 // java.io.File dataLogDir
        end local 2 // java.io.File dataDir
        end local 1 // int tickTime
        end local 0 // org.I0Itec.zkclient.ZkServer this
      LocalVariableTable:
        Start  End  Slot                  Name  Signature
            0   12     0                  this  Lorg/I0Itec/zkclient/ZkServer;
            0   12     1              tickTime  I
            0   12     2               dataDir  Ljava/io/File;
            0   12     3            dataLogDir  Ljava/io/File;
            0   12     4                  port  I
            4    6     5  maxClientConnections  I
            8    9     5                     e  Ljava/io/IOException;
           10   11     5                     e  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           0     6       7  Class java.io.IOException
           0     6       9  Class java.lang.InterruptedException
    MethodParameters:
            Name  Flags
      tickTime    final
      dataDir     final
      dataLogDir  final
      port        final

  public void shutdown();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // org.I0Itec.zkclient.ZkServer this
         0: .line 155
            getstatic org.I0Itec.zkclient.ZkServer.LOG:Lorg/slf4j/Logger;
            ldc "Shutting down ZkServer..."
            invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
         1: .line 157
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._zkClient:Lorg/I0Itec/zkclient/ZkClient;
            ifnull 6
         2: .line 158
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._zkClient:Lorg/I0Itec/zkclient/ZkClient;
            invokevirtual org.I0Itec.zkclient.ZkClient.close:()V
         3: .line 160
            goto 6
      StackMap locals:
      StackMap stack: org.I0Itec.zkclient.exception.ZkException
         4: astore 1 /* e */
        start local 1 // org.I0Itec.zkclient.exception.ZkException e
         5: .line 161
            getstatic org.I0Itec.zkclient.ZkServer.LOG:Lorg/slf4j/Logger;
            new java.lang.StringBuilder
            dup
            ldc "Error on closing zkclient: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 1 /* e */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokevirtual java.lang.Class.getName:()Ljava/lang/String;
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;)V
        end local 1 // org.I0Itec.zkclient.exception.ZkException e
         6: .line 163
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._nioFactory:Lorg/apache/zookeeper/server/NIOServerCnxnFactory;
            ifnull 13
         7: .line 164
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._nioFactory:Lorg/apache/zookeeper/server/NIOServerCnxnFactory;
            invokevirtual org.apache.zookeeper.server.NIOServerCnxnFactory.shutdown:()V
         8: .line 166
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._nioFactory:Lorg/apache/zookeeper/server/NIOServerCnxnFactory;
            invokevirtual org.apache.zookeeper.server.NIOServerCnxnFactory.join:()V
         9: .line 167
            goto 12
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
        10: pop
        11: .line 168
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
        12: .line 170
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aconst_null
            putfield org.I0Itec.zkclient.ZkServer._nioFactory:Lorg/apache/zookeeper/server/NIOServerCnxnFactory;
        13: .line 172
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._zk:Lorg/apache/zookeeper/server/ZooKeeperServer;
            ifnull 16
        14: .line 173
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._zk:Lorg/apache/zookeeper/server/ZooKeeperServer;
            invokevirtual org.apache.zookeeper.server.ZooKeeperServer.shutdown:()V
        15: .line 174
            aload 0 /* this */
            aconst_null
            putfield org.I0Itec.zkclient.ZkServer._zk:Lorg/apache/zookeeper/server/ZooKeeperServer;
        16: .line 176
      StackMap locals:
      StackMap stack:
            getstatic org.I0Itec.zkclient.ZkServer.LOG:Lorg/slf4j/Logger;
            ldc "Shutting down ZkServer...done"
            invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
        17: .line 177
            return
        end local 0 // org.I0Itec.zkclient.ZkServer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   18     0  this  Lorg/I0Itec/zkclient/ZkServer;
            5    6     1     e  Lorg/I0Itec/zkclient/exception/ZkException;
      Exception table:
        from    to  target  type
           1     3       4  Class org.I0Itec.zkclient.exception.ZkException
           8     9      10  Class java.lang.InterruptedException
    RuntimeVisibleAnnotations: 
      javax.annotation.PreDestroy()

  public org.I0Itec.zkclient.ZkClient getZkClient();
    descriptor: ()Lorg/I0Itec/zkclient/ZkClient;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.I0Itec.zkclient.ZkServer this
         0: .line 180
            aload 0 /* this */
            getfield org.I0Itec.zkclient.ZkServer._zkClient:Lorg/I0Itec/zkclient/ZkClient;
            areturn
        end local 0 // org.I0Itec.zkclient.ZkServer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/I0Itec/zkclient/ZkServer;
}
SourceFile: "ZkServer.java"