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

  private java.util.Collection<org.apache.cassandra.transport.Server> servers;
    descriptor: Ljava/util/Collection;
    flags: (0x0002) ACC_PRIVATE
    Signature: Ljava/util/Collection<Lorg/apache/cassandra/transport/Server;>;

  private boolean initialized;
    descriptor: Z
    flags: (0x0002) ACC_PRIVATE

  private io.netty.channel.EventLoopGroup workerGroup;
    descriptor: Lio/netty/channel/EventLoopGroup;
    flags: (0x0002) ACC_PRIVATE

  private org.apache.cassandra.transport.ConfiguredLimit protocolVersionLimit;
    descriptor: Lorg/apache/cassandra/transport/ConfiguredLimit;
    flags: (0x0002) ACC_PRIVATE

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 48
            ldc Lorg/apache/cassandra/service/NativeTransportService;
            invokestatic org.slf4j.LoggerFactory.getLogger:(Ljava/lang/Class;)Lorg/slf4j/Logger;
            putstatic org.apache.cassandra.service.NativeTransportService.logger:Lorg/slf4j/Logger;
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.service.NativeTransportService this
         0: .line 45
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 50
            aload 0 /* this */
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            putfield org.apache.cassandra.service.NativeTransportService.servers:Ljava/util/Collection;
         2: .line 52
            aload 0 /* this */
            iconst_0
            putfield org.apache.cassandra.service.NativeTransportService.initialized:Z
         3: .line 45
            return
        end local 0 // org.apache.cassandra.service.NativeTransportService this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/cassandra/service/NativeTransportService;

  synchronized void initialize();
    descriptor: ()V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=6, locals=5, args_size=1
        start local 0 // org.apache.cassandra.service.NativeTransportService this
         0: .line 62
            aload 0 /* this */
            getfield org.apache.cassandra.service.NativeTransportService.initialized:Z
            ifeq 2
         1: .line 63
            return
         2: .line 65
      StackMap locals:
      StackMap stack:
            invokestatic org.apache.cassandra.service.NativeTransportService.useEpoll:()Z
            ifeq 6
         3: .line 67
            aload 0 /* this */
            new io.netty.channel.epoll.EpollEventLoopGroup
            dup
            invokespecial io.netty.channel.epoll.EpollEventLoopGroup.<init>:()V
            putfield org.apache.cassandra.service.NativeTransportService.workerGroup:Lio/netty/channel/EventLoopGroup;
         4: .line 68
            getstatic org.apache.cassandra.service.NativeTransportService.logger:Lorg/slf4j/Logger;
            ldc "Netty using native Epoll event loop"
            invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
         5: .line 69
            goto 8
         6: .line 72
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            new io.netty.channel.nio.NioEventLoopGroup
            dup
            invokespecial io.netty.channel.nio.NioEventLoopGroup.<init>:()V
            putfield org.apache.cassandra.service.NativeTransportService.workerGroup:Lio/netty/channel/EventLoopGroup;
         7: .line 73
            getstatic org.apache.cassandra.service.NativeTransportService.logger:Lorg/slf4j/Logger;
            ldc "Netty using Java NIO event loop"
            invokeinterface org.slf4j.Logger.info:(Ljava/lang/String;)V
         8: .line 76
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokestatic org.apache.cassandra.transport.ConfiguredLimit.newLimit:()Lorg/apache/cassandra/transport/ConfiguredLimit;
            putfield org.apache.cassandra.service.NativeTransportService.protocolVersionLimit:Lorg/apache/cassandra/transport/ConfiguredLimit;
         9: .line 78
            invokestatic org.apache.cassandra.config.DatabaseDescriptor.getNativeTransportPort:()I
            istore 1 /* nativePort */
        start local 1 // int nativePort
        10: .line 79
            invokestatic org.apache.cassandra.config.DatabaseDescriptor.getNativeTransportPortSSL:()I
            istore 2 /* nativePortSSL */
        start local 2 // int nativePortSSL
        11: .line 80
            invokestatic org.apache.cassandra.config.DatabaseDescriptor.getRpcAddress:()Ljava/net/InetAddress;
            astore 3 /* nativeAddr */
        start local 3 // java.net.InetAddress nativeAddr
        12: .line 82
            new org.apache.cassandra.transport.Server$Builder
            dup
            invokespecial org.apache.cassandra.transport.Server$Builder.<init>:()V
        13: .line 83
            aload 0 /* this */
            getfield org.apache.cassandra.service.NativeTransportService.workerGroup:Lio/netty/channel/EventLoopGroup;
            invokevirtual org.apache.cassandra.transport.Server$Builder.withEventLoopGroup:(Lio/netty/channel/EventLoopGroup;)Lorg/apache/cassandra/transport/Server$Builder;
        14: .line 84
            aload 0 /* this */
            getfield org.apache.cassandra.service.NativeTransportService.protocolVersionLimit:Lorg/apache/cassandra/transport/ConfiguredLimit;
            invokevirtual org.apache.cassandra.transport.Server$Builder.withProtocolVersionLimit:(Lorg/apache/cassandra/transport/ProtocolVersionLimit;)Lorg/apache/cassandra/transport/Server$Builder;
        15: .line 85
            aload 3 /* nativeAddr */
            invokevirtual org.apache.cassandra.transport.Server$Builder.withHost:(Ljava/net/InetAddress;)Lorg/apache/cassandra/transport/Server$Builder;
        16: .line 82
            astore 4 /* builder */
        start local 4 // org.apache.cassandra.transport.Server$Builder builder
        17: .line 87
            invokestatic org.apache.cassandra.config.DatabaseDescriptor.getClientEncryptionOptions:()Lorg/apache/cassandra/config/EncryptionOptions$ClientEncryptionOptions;
            getfield org.apache.cassandra.config.EncryptionOptions$ClientEncryptionOptions.enabled:Z
            ifne 20
        18: .line 89
            aload 0 /* this */
            aload 4 /* builder */
            iconst_0
            invokevirtual org.apache.cassandra.transport.Server$Builder.withSSL:(Z)Lorg/apache/cassandra/transport/Server$Builder;
            iload 1 /* nativePort */
            invokevirtual org.apache.cassandra.transport.Server$Builder.withPort:(I)Lorg/apache/cassandra/transport/Server$Builder;
            invokevirtual org.apache.cassandra.transport.Server$Builder.build:()Lorg/apache/cassandra/transport/Server;
            invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
            putfield org.apache.cassandra.service.NativeTransportService.servers:Ljava/util/Collection;
        19: .line 90
            goto 28
        20: .line 93
      StackMap locals: org.apache.cassandra.service.NativeTransportService int int java.net.InetAddress org.apache.cassandra.transport.Server$Builder
      StackMap stack:
            iload 1 /* nativePort */
            iload 2 /* nativePortSSL */
            if_icmpeq 27
        21: .line 96
            aload 0 /* this */
            iconst_2
            anewarray org.apache.cassandra.transport.Server
            dup
            iconst_0
        22: .line 98
            aload 4 /* builder */
            iconst_0
            invokevirtual org.apache.cassandra.transport.Server$Builder.withSSL:(Z)Lorg/apache/cassandra/transport/Server$Builder;
            iload 1 /* nativePort */
            invokevirtual org.apache.cassandra.transport.Server$Builder.withPort:(I)Lorg/apache/cassandra/transport/Server$Builder;
            invokevirtual org.apache.cassandra.transport.Server$Builder.build:()Lorg/apache/cassandra/transport/Server;
            aastore
            dup
            iconst_1
        23: .line 99
            aload 4 /* builder */
            iconst_1
            invokevirtual org.apache.cassandra.transport.Server$Builder.withSSL:(Z)Lorg/apache/cassandra/transport/Server$Builder;
            iload 2 /* nativePortSSL */
            invokevirtual org.apache.cassandra.transport.Server$Builder.withPort:(I)Lorg/apache/cassandra/transport/Server$Builder;
            invokevirtual org.apache.cassandra.transport.Server$Builder.build:()Lorg/apache/cassandra/transport/Server;
            aastore
        24: .line 97
            invokestatic java.util.Arrays.asList:([Ljava/lang/Object;)Ljava/util/List;
        25: .line 96
            invokestatic java.util.Collections.unmodifiableList:(Ljava/util/List;)Ljava/util/List;
            putfield org.apache.cassandra.service.NativeTransportService.servers:Ljava/util/Collection;
        26: .line 102
            goto 28
        27: .line 106
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 4 /* builder */
            iconst_1
            invokevirtual org.apache.cassandra.transport.Server$Builder.withSSL:(Z)Lorg/apache/cassandra/transport/Server$Builder;
            iload 1 /* nativePort */
            invokevirtual org.apache.cassandra.transport.Server$Builder.withPort:(I)Lorg/apache/cassandra/transport/Server$Builder;
            invokevirtual org.apache.cassandra.transport.Server$Builder.build:()Lorg/apache/cassandra/transport/Server;
            invokestatic java.util.Collections.singleton:(Ljava/lang/Object;)Ljava/util/Set;
            putfield org.apache.cassandra.service.NativeTransportService.servers:Ljava/util/Collection;
        28: .line 111
      StackMap locals:
      StackMap stack:
            getstatic org.apache.cassandra.metrics.ClientMetrics.instance:Lorg/apache/cassandra/metrics/ClientMetrics;
            aload 0 /* this */
            getfield org.apache.cassandra.service.NativeTransportService.servers:Ljava/util/Collection;
            invokevirtual org.apache.cassandra.metrics.ClientMetrics.init:(Ljava/util/Collection;)V
        29: .line 113
            invokestatic org.apache.cassandra.metrics.AuthMetrics.init:()V
        30: .line 115
            aload 0 /* this */
            iconst_1
            putfield org.apache.cassandra.service.NativeTransportService.initialized:Z
        31: .line 116
            return
        end local 4 // org.apache.cassandra.transport.Server$Builder builder
        end local 3 // java.net.InetAddress nativeAddr
        end local 2 // int nativePortSSL
        end local 1 // int nativePort
        end local 0 // org.apache.cassandra.service.NativeTransportService this
      LocalVariableTable:
        Start  End  Slot           Name  Signature
            0   32     0           this  Lorg/apache/cassandra/service/NativeTransportService;
           10   32     1     nativePort  I
           11   32     2  nativePortSSL  I
           12   32     3     nativeAddr  Ljava/net/InetAddress;
           17   32     4        builder  Lorg/apache/cassandra/transport/Server$Builder;
    RuntimeInvisibleAnnotations: 
      com.google.common.annotations.VisibleForTesting()

  public void start();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.service.NativeTransportService this
         0: .line 123
            aload 0 /* this */
            invokevirtual org.apache.cassandra.service.NativeTransportService.initialize:()V
         1: .line 124
            aload 0 /* this */
            getfield org.apache.cassandra.service.NativeTransportService.servers:Ljava/util/Collection;
            invokedynamic accept()Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  org/apache/cassandra/transport/Server.start()V (5)
                  (Lorg/apache/cassandra/transport/Server;)V
            invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
         2: .line 125
            return
        end local 0 // org.apache.cassandra.service.NativeTransportService this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/service/NativeTransportService;

  public void stop();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.service.NativeTransportService this
         0: .line 132
            aload 0 /* this */
            getfield org.apache.cassandra.service.NativeTransportService.servers:Ljava/util/Collection;
            invokedynamic accept()Ljava/util/function/Consumer;
              Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
                Method arguments:
                  (Ljava/lang/Object;)V
                  org/apache/cassandra/transport/Server.stop()V (5)
                  (Lorg/apache/cassandra/transport/Server;)V
            invokeinterface java.util.Collection.forEach:(Ljava/util/function/Consumer;)V
         1: .line 133
            return
        end local 0 // org.apache.cassandra.service.NativeTransportService this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/cassandra/service/NativeTransportService;

  public void destroy();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=6, locals=1, args_size=1
        start local 0 // org.apache.cassandra.service.NativeTransportService this
         0: .line 140
            aload 0 /* this */
            invokevirtual org.apache.cassandra.service.NativeTransportService.stop:()V
         1: .line 141
            aload 0 /* this */
            invokestatic java.util.Collections.emptyList:()Ljava/util/List;
            putfield org.apache.cassandra.service.NativeTransportService.servers:Ljava/util/Collection;
         2: .line 144
            aload 0 /* this */
            getfield org.apache.cassandra.service.NativeTransportService.workerGroup:Lio/netty/channel/EventLoopGroup;
            ldc 3
            ldc 5
            getstatic java.util.concurrent.TimeUnit.SECONDS:Ljava/util/concurrent/TimeUnit;
            invokeinterface io.netty.channel.EventLoopGroup.shutdownGracefully:(JJLjava/util/concurrent/TimeUnit;)Lio/netty/util/concurrent/Future;
            invokeinterface io.netty.util.concurrent.Future.awaitUninterruptibly:()Lio/netty/util/concurrent/Future;
            pop
         3: .line 146
            invokestatic org.apache.cassandra.transport.Message$Dispatcher.shutdown:()V
         4: .line 147
            return
        end local 0 // org.apache.cassandra.service.NativeTransportService this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/cassandra/service/NativeTransportService;

  public int getMaxProtocolVersion();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.service.NativeTransportService this
         0: .line 151
            aload 0 /* this */
            getfield org.apache.cassandra.service.NativeTransportService.protocolVersionLimit:Lorg/apache/cassandra/transport/ConfiguredLimit;
            invokevirtual org.apache.cassandra.transport.ConfiguredLimit.getMaxVersion:()Lorg/apache/cassandra/transport/ProtocolVersion;
            invokevirtual org.apache.cassandra.transport.ProtocolVersion.asInt:()I
            ireturn
        end local 0 // org.apache.cassandra.service.NativeTransportService this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/service/NativeTransportService;

  public void refreshMaxNegotiableProtocolVersion();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.service.NativeTransportService this
         0: .line 159
            aload 0 /* this */
            getfield org.apache.cassandra.service.NativeTransportService.initialized:Z
            ifeq 2
         1: .line 160
            aload 0 /* this */
            getfield org.apache.cassandra.service.NativeTransportService.protocolVersionLimit:Lorg/apache/cassandra/transport/ConfiguredLimit;
            invokevirtual org.apache.cassandra.transport.ConfiguredLimit.updateMaxSupportedVersion:()V
         2: .line 161
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.cassandra.service.NativeTransportService this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/service/NativeTransportService;

  public static boolean useEpoll();
    descriptor: ()Z
    flags: (0x0009) ACC_PUBLIC, ACC_STATIC
    Code:
      stack=2, locals=1, args_size=0
         0: .line 168
            ldc "cassandra.native.epoll.enabled"
            ldc "true"
            invokestatic java.lang.System.getProperty:(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
            invokestatic java.lang.Boolean.parseBoolean:(Ljava/lang/String;)Z
            istore 0 /* enableEpoll */
        start local 0 // boolean enableEpoll
         1: .line 169
            iload 0 /* enableEpoll */
            ifeq 2
            invokestatic io.netty.channel.epoll.Epoll.isAvailable:()Z
            ifeq 2
            iconst_1
            ireturn
      StackMap locals: int
      StackMap stack:
         2: iconst_0
            ireturn
        end local 0 // boolean enableEpoll
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            1    3     0  enableEpoll  Z

  public boolean isRunning();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=3, args_size=1
        start local 0 // org.apache.cassandra.service.NativeTransportService this
         0: .line 177
            aload 0 /* this */
            getfield org.apache.cassandra.service.NativeTransportService.servers:Ljava/util/Collection;
            invokeinterface java.util.Collection.iterator:()Ljava/util/Iterator;
            astore 2
            goto 3
      StackMap locals: org.apache.cassandra.service.NativeTransportService top java.util.Iterator
      StackMap stack:
         1: aload 2
            invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
            checkcast org.apache.cassandra.transport.Server
            astore 1 /* server */
        start local 1 // org.apache.cassandra.transport.Server server
         2: .line 178
            aload 1 /* server */
            invokevirtual org.apache.cassandra.transport.Server.isRunning:()Z
            ifeq 3
            iconst_1
            ireturn
        end local 1 // org.apache.cassandra.transport.Server server
         3: .line 177
      StackMap locals:
      StackMap stack:
            aload 2
            invokeinterface java.util.Iterator.hasNext:()Z
            ifne 1
         4: .line 179
            iconst_0
            ireturn
        end local 0 // org.apache.cassandra.service.NativeTransportService this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    5     0    this  Lorg/apache/cassandra/service/NativeTransportService;
            2    3     1  server  Lorg/apache/cassandra/transport/Server;

  io.netty.channel.EventLoopGroup getWorkerGroup();
    descriptor: ()Lio/netty/channel/EventLoopGroup;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.service.NativeTransportService this
         0: .line 185
            aload 0 /* this */
            getfield org.apache.cassandra.service.NativeTransportService.workerGroup:Lio/netty/channel/EventLoopGroup;
            areturn
        end local 0 // org.apache.cassandra.service.NativeTransportService this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/service/NativeTransportService;
    RuntimeInvisibleAnnotations: 
      com.google.common.annotations.VisibleForTesting()
    RuntimeInvisibleTypeAnnotations: 
      METHOD_RETURN
        com.google.common.annotations.VisibleForTesting()

  java.util.Collection<org.apache.cassandra.transport.Server> getServers();
    descriptor: ()Ljava/util/Collection;
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.cassandra.service.NativeTransportService this
         0: .line 191
            aload 0 /* this */
            getfield org.apache.cassandra.service.NativeTransportService.servers:Ljava/util/Collection;
            areturn
        end local 0 // org.apache.cassandra.service.NativeTransportService this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/cassandra/service/NativeTransportService;
    Signature: ()Ljava/util/Collection<Lorg/apache/cassandra/transport/Server;>;
    RuntimeInvisibleAnnotations: 
      com.google.common.annotations.VisibleForTesting()
    RuntimeInvisibleTypeAnnotations: 
      METHOD_RETURN
        com.google.common.annotations.VisibleForTesting()
}
SourceFile: "NativeTransportService.java"
InnerClasses:
  public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles
  public ClientEncryptionOptions = org.apache.cassandra.config.EncryptionOptions$ClientEncryptionOptions of org.apache.cassandra.config.EncryptionOptions
  public Dispatcher = org.apache.cassandra.transport.Message$Dispatcher of org.apache.cassandra.transport.Message
  public Builder = org.apache.cassandra.transport.Server$Builder of org.apache.cassandra.transport.Server