public class org.apache.cassandra.thrift.CustomTThreadPoolServer extends org.apache.thrift.server.TServer
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.cassandra.thrift.CustomTThreadPoolServer
  super_class: org.apache.thrift.server.TServer
{
  private static final org.slf4j.Logger logger;
    descriptor: Lorg/slf4j/Logger;
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL

  private final java.util.concurrent.ExecutorService executorService;
    descriptor: Ljava/util/concurrent/ExecutorService;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private volatile boolean stopped;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

  private final org.apache.thrift.server.TThreadPoolServer$Args args;
    descriptor: Lorg/apache/thrift/server/TThreadPoolServer$Args;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  private final java.util.concurrent.atomic.AtomicInteger activeClients;
    descriptor: Ljava/util/concurrent/atomic/AtomicInteger;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

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

  public void <init>(org.apache.thrift.server.TThreadPoolServer$Args, java.util.concurrent.ExecutorService);
    descriptor: (Lorg/apache/thrift/server/TThreadPoolServer$Args;Ljava/util/concurrent/ExecutorService;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=3
        start local 0 // org.apache.cassandra.thrift.CustomTThreadPoolServer this
        start local 1 // org.apache.thrift.server.TThreadPoolServer$Args args
        start local 2 // java.util.concurrent.ExecutorService executorService
         0: .line 83
            aload 0 /* this */
            aload 1 /* args */
            invokespecial org.apache.thrift.server.TServer.<init>:(Lorg/apache/thrift/server/TServer$AbstractServerArgs;)V
         1: .line 84
            aload 0 /* this */
            aload 2 /* executorService */
            putfield org.apache.cassandra.thrift.CustomTThreadPoolServer.executorService:Ljava/util/concurrent/ExecutorService;
         2: .line 85
            aload 0 /* this */
            iconst_0
            putfield org.apache.cassandra.thrift.CustomTThreadPoolServer.stopped:Z
         3: .line 86
            aload 0 /* this */
            aload 1 /* args */
            putfield org.apache.cassandra.thrift.CustomTThreadPoolServer.args:Lorg/apache/thrift/server/TThreadPoolServer$Args;
         4: .line 87
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicInteger
            dup
            iconst_0
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:(I)V
            putfield org.apache.cassandra.thrift.CustomTThreadPoolServer.activeClients:Ljava/util/concurrent/atomic/AtomicInteger;
         5: .line 88
            return
        end local 2 // java.util.concurrent.ExecutorService executorService
        end local 1 // org.apache.thrift.server.TThreadPoolServer$Args args
        end local 0 // org.apache.cassandra.thrift.CustomTThreadPoolServer this
      LocalVariableTable:
        Start  End  Slot             Name  Signature
            0    6     0             this  Lorg/apache/cassandra/thrift/CustomTThreadPoolServer;
            0    6     1             args  Lorg/apache/thrift/server/TThreadPoolServer$Args;
            0    6     2  executorService  Ljava/util/concurrent/ExecutorService;
    MethodParameters:
                 Name  Flags
      args             
      executorService  

  public void serve();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=3, args_size=1
        start local 0 // org.apache.cassandra.thrift.CustomTThreadPoolServer this
         0: .line 95
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.serverTransport_:Lorg/apache/thrift/transport/TServerTransport;
            invokevirtual org.apache.thrift.transport.TServerTransport.listen:()V
         1: .line 96
            goto 23
         2: .line 97
      StackMap locals:
      StackMap stack: org.apache.thrift.transport.TTransportException
            astore 1 /* ttx */
        start local 1 // org.apache.thrift.transport.TTransportException ttx
         3: .line 99
            getstatic org.apache.cassandra.thrift.CustomTThreadPoolServer.logger:Lorg/slf4j/Logger;
            ldc "Error occurred during listening."
            aload 1 /* ttx */
            invokeinterface org.slf4j.Logger.error:(Ljava/lang/String;Ljava/lang/Throwable;)V
         4: .line 100
            return
        end local 1 // org.apache.thrift.transport.TTransportException ttx
         5: .line 108
      StackMap locals:
      StackMap stack:
            ldc 10
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
            invokestatic com.google.common.util.concurrent.Uninterruptibles.sleepUninterruptibly:(JLjava/util/concurrent/TimeUnit;)V
         6: .line 106
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.activeClients:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.args:Lorg/apache/thrift/server/TThreadPoolServer$Args;
            getfield org.apache.thrift.server.TThreadPoolServer$Args.maxWorkerThreads:I
            if_icmpge 5
         7: .line 113
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.serverTransport_:Lorg/apache/thrift/transport/TServerTransport;
            invokevirtual org.apache.thrift.transport.TServerTransport.accept:()Lorg/apache/thrift/transport/TTransport;
            astore 1 /* client */
        start local 1 // org.apache.thrift.transport.TTransport client
         8: .line 114
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.activeClients:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
            pop
         9: .line 115
            new org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess
            dup
            aload 0 /* this */
            aload 1 /* client */
            invokespecial org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess.<init>:(Lorg/apache/cassandra/thrift/CustomTThreadPoolServer;Lorg/apache/thrift/transport/TTransport;)V
            astore 2 /* wp */
        start local 2 // org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess wp
        10: .line 116
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.executorService:Ljava/util/concurrent/ExecutorService;
            aload 2 /* wp */
            invokeinterface java.util.concurrent.ExecutorService.execute:(Ljava/lang/Runnable;)V
        end local 2 // org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess wp
        end local 1 // org.apache.thrift.transport.TTransport client
        11: .line 117
            goto 21
        12: .line 118
      StackMap locals:
      StackMap stack: org.apache.thrift.transport.TTransportException
            astore 1 /* ttx */
        start local 1 // org.apache.thrift.transport.TTransportException ttx
        13: .line 120
            aload 1 /* ttx */
            invokevirtual org.apache.thrift.transport.TTransportException.getCause:()Ljava/lang/Throwable;
            instanceof java.net.SocketTimeoutException
            ifeq 15
        14: .line 121
            goto 23
        15: .line 123
      StackMap locals: org.apache.thrift.transport.TTransportException
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.stopped:Z
            ifne 21
        16: .line 125
            getstatic org.apache.cassandra.thrift.CustomTThreadPoolServer.logger:Lorg/slf4j/Logger;
            ldc "Transport error occurred during acceptance of message."
            aload 1 /* ttx */
            invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Throwable;)V
        end local 1 // org.apache.thrift.transport.TTransportException ttx
        17: goto 21
        18: .line 128
      StackMap locals: org.apache.cassandra.thrift.CustomTThreadPoolServer
      StackMap stack: java.util.concurrent.RejectedExecutionException
            pop
        19: .line 131
            getstatic org.apache.cassandra.thrift.CustomTThreadPoolServer.logger:Lorg/slf4j/Logger;
            ldc "Dropping client connection because our limit of {} has been reached"
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.args:Lorg/apache/thrift/server/TThreadPoolServer$Args;
            getfield org.apache.thrift.server.TThreadPoolServer$Args.maxWorkerThreads:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface org.slf4j.Logger.trace:(Ljava/lang/String;Ljava/lang/Object;)V
        20: .line 132
            goto 23
        21: .line 135
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.activeClients:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.args:Lorg/apache/thrift/server/TThreadPoolServer$Args;
            getfield org.apache.thrift.server.TThreadPoolServer$Args.maxWorkerThreads:I
            if_icmplt 23
        22: .line 136
            getstatic org.apache.cassandra.thrift.CustomTThreadPoolServer.logger:Lorg/slf4j/Logger;
            ldc "Maximum number of clients {} reached"
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.args:Lorg/apache/thrift/server/TThreadPoolServer$Args;
            getfield org.apache.thrift.server.TThreadPoolServer$Args.maxWorkerThreads:I
            invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
            invokeinterface org.slf4j.Logger.warn:(Ljava/lang/String;Ljava/lang/Object;)V
        23: .line 103
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.stopped:Z
            ifeq 6
        24: .line 139
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.executorService:Ljava/util/concurrent/ExecutorService;
            invokeinterface java.util.concurrent.ExecutorService.shutdown:()V
        25: .line 158
            return
        end local 0 // org.apache.cassandra.thrift.CustomTThreadPoolServer this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0   26     0    this  Lorg/apache/cassandra/thrift/CustomTThreadPoolServer;
            3    5     1     ttx  Lorg/apache/thrift/transport/TTransportException;
            8   11     1  client  Lorg/apache/thrift/transport/TTransport;
           10   11     2      wp  Lorg/apache/cassandra/thrift/CustomTThreadPoolServer$WorkerProcess;
           13   17     1     ttx  Lorg/apache/thrift/transport/TTransportException;
      Exception table:
        from    to  target  type
           0     1       2  Class org.apache.thrift.transport.TTransportException
           7    11      12  Class org.apache.thrift.transport.TTransportException
           7    11      18  Class java.util.concurrent.RejectedExecutionException

  public void stop();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.cassandra.thrift.CustomTThreadPoolServer this
         0: .line 162
            aload 0 /* this */
            iconst_1
            putfield org.apache.cassandra.thrift.CustomTThreadPoolServer.stopped:Z
         1: .line 163
            aload 0 /* this */
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.serverTransport_:Lorg/apache/thrift/transport/TServerTransport;
            invokevirtual org.apache.thrift.transport.TServerTransport.interrupt:()V
         2: .line 164
            return
        end local 0 // org.apache.cassandra.thrift.CustomTThreadPoolServer this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/cassandra/thrift/CustomTThreadPoolServer;

  static org.apache.thrift.transport.TTransportFactory access$0(org.apache.cassandra.thrift.CustomTThreadPoolServer);
    descriptor: (Lorg/apache/cassandra/thrift/CustomTThreadPoolServer;)Lorg/apache/thrift/transport/TTransportFactory;
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 63
            aload 0
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.inputTransportFactory_:Lorg/apache/thrift/transport/TTransportFactory;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static org.apache.thrift.transport.TTransportFactory access$1(org.apache.cassandra.thrift.CustomTThreadPoolServer);
    descriptor: (Lorg/apache/cassandra/thrift/CustomTThreadPoolServer;)Lorg/apache/thrift/transport/TTransportFactory;
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 63
            aload 0
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.outputTransportFactory_:Lorg/apache/thrift/transport/TTransportFactory;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static org.apache.thrift.TProcessorFactory access$2(org.apache.cassandra.thrift.CustomTThreadPoolServer);
    descriptor: (Lorg/apache/cassandra/thrift/CustomTThreadPoolServer;)Lorg/apache/thrift/TProcessorFactory;
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 63
            aload 0
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.processorFactory_:Lorg/apache/thrift/TProcessorFactory;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static org.apache.thrift.protocol.TProtocolFactory access$3(org.apache.cassandra.thrift.CustomTThreadPoolServer);
    descriptor: (Lorg/apache/cassandra/thrift/CustomTThreadPoolServer;)Lorg/apache/thrift/protocol/TProtocolFactory;
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 63
            aload 0
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.inputProtocolFactory_:Lorg/apache/thrift/protocol/TProtocolFactory;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  static org.apache.thrift.protocol.TProtocolFactory access$4(org.apache.cassandra.thrift.CustomTThreadPoolServer);
    descriptor: (Lorg/apache/cassandra/thrift/CustomTThreadPoolServer;)Lorg/apache/thrift/protocol/TProtocolFactory;
    flags: (0x1008) ACC_STATIC, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 63
            aload 0
            getfield org.apache.cassandra.thrift.CustomTThreadPoolServer.outputProtocolFactory_:Lorg/apache/thrift/protocol/TProtocolFactory;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
}
SourceFile: "CustomTThreadPoolServer.java"
NestMembers:
  org.apache.cassandra.thrift.CustomTThreadPoolServer$Factory  org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess
InnerClasses:
  public Factory = org.apache.cassandra.thrift.CustomTThreadPoolServer$Factory of org.apache.cassandra.thrift.CustomTThreadPoolServer
  private WorkerProcess = org.apache.cassandra.thrift.CustomTThreadPoolServer$WorkerProcess of org.apache.cassandra.thrift.CustomTThreadPoolServer
  public abstract AbstractServerArgs = org.apache.thrift.server.TServer$AbstractServerArgs of org.apache.thrift.server.TServer
  public Args = org.apache.thrift.server.TThreadPoolServer$Args of org.apache.thrift.server.TThreadPoolServer