public class org.apache.tomcat.util.threads.TaskQueue extends java.util.concurrent.LinkedBlockingQueue<java.lang.Runnable>
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.tomcat.util.threads.TaskQueue
  super_class: java.util.concurrent.LinkedBlockingQueue
{
  private static final long serialVersionUID;
    descriptor: J
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: 1

  protected static final org.apache.tomcat.util.res.StringManager sm;
    descriptor: Lorg/apache/tomcat/util/res/StringManager;
    flags: (0x001c) ACC_PROTECTED, ACC_STATIC, ACC_FINAL

  private static final int DEFAULT_FORCED_REMAINING_CAPACITY;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: -1

  private volatile transient org.apache.tomcat.util.threads.ThreadPoolExecutor parent;
    descriptor: Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
    flags: (0x00c2) ACC_PRIVATE, ACC_VOLATILE, ACC_TRANSIENT

  private int forcedRemainingCapacity;
    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 37
            ldc "org.apache.tomcat.util.threads.res"
            invokestatic org.apache.tomcat.util.res.StringManager.getManager:(Ljava/lang/String;)Lorg/apache/tomcat/util/res/StringManager;
         1: .line 36
            putstatic org.apache.tomcat.util.threads.TaskQueue.sm:Lorg/apache/tomcat/util/res/StringManager;
         2: .line 38
            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.tomcat.util.threads.TaskQueue this
         0: .line 47
            aload 0 /* this */
            invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:()V
         1: .line 40
            aload 0 /* this */
            aconst_null
            putfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
         2: .line 44
            aload 0 /* this */
            iconst_m1
            putfield org.apache.tomcat.util.threads.TaskQueue.forcedRemainingCapacity:I
         3: .line 48
            return
        end local 0 // org.apache.tomcat.util.threads.TaskQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/tomcat/util/threads/TaskQueue;

  public void <init>(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.tomcat.util.threads.TaskQueue this
        start local 1 // int capacity
         0: .line 51
            aload 0 /* this */
            iload 1 /* capacity */
            invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:(I)V
         1: .line 40
            aload 0 /* this */
            aconst_null
            putfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
         2: .line 44
            aload 0 /* this */
            iconst_m1
            putfield org.apache.tomcat.util.threads.TaskQueue.forcedRemainingCapacity:I
         3: .line 52
            return
        end local 1 // int capacity
        end local 0 // org.apache.tomcat.util.threads.TaskQueue this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Lorg/apache/tomcat/util/threads/TaskQueue;
            0    4     1  capacity  I
    MethodParameters:
          Name  Flags
      capacity  

  public void <init>(java.util.Collection<? extends java.lang.Runnable>);
    descriptor: (Ljava/util/Collection;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.tomcat.util.threads.TaskQueue this
        start local 1 // java.util.Collection c
         0: .line 55
            aload 0 /* this */
            aload 1 /* c */
            invokespecial java.util.concurrent.LinkedBlockingQueue.<init>:(Ljava/util/Collection;)V
         1: .line 40
            aload 0 /* this */
            aconst_null
            putfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
         2: .line 44
            aload 0 /* this */
            iconst_m1
            putfield org.apache.tomcat.util.threads.TaskQueue.forcedRemainingCapacity:I
         3: .line 56
            return
        end local 1 // java.util.Collection c
        end local 0 // org.apache.tomcat.util.threads.TaskQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/tomcat/util/threads/TaskQueue;
            0    4     1     c  Ljava/util/Collection<+Ljava/lang/Runnable;>;
    Signature: (Ljava/util/Collection<+Ljava/lang/Runnable;>;)V
    MethodParameters:
      Name  Flags
      c     

  public void setParent(org.apache.tomcat.util.threads.ThreadPoolExecutor);
    descriptor: (Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.tomcat.util.threads.TaskQueue this
        start local 1 // org.apache.tomcat.util.threads.ThreadPoolExecutor tp
         0: .line 59
            aload 0 /* this */
            aload 1 /* tp */
            putfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
         1: .line 60
            return
        end local 1 // org.apache.tomcat.util.threads.ThreadPoolExecutor tp
        end local 0 // org.apache.tomcat.util.threads.TaskQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/tomcat/util/threads/TaskQueue;
            0    2     1    tp  Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
    MethodParameters:
      Name  Flags
      tp    

  public boolean force(java.lang.Runnable);
    descriptor: (Ljava/lang/Runnable;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=2, args_size=2
        start local 0 // org.apache.tomcat.util.threads.TaskQueue this
        start local 1 // java.lang.Runnable o
         0: .line 63
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            ifnull 1
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.isShutdown:()Z
            ifeq 2
      StackMap locals:
      StackMap stack:
         1: new java.util.concurrent.RejectedExecutionException
            dup
            getstatic org.apache.tomcat.util.threads.TaskQueue.sm:Lorg/apache/tomcat/util/res/StringManager;
            ldc "taskQueue.notRunning"
            invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
            invokespecial java.util.concurrent.RejectedExecutionException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 64
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* o */
            invokespecial java.util.concurrent.LinkedBlockingQueue.offer:(Ljava/lang/Object;)Z
            ireturn
        end local 1 // java.lang.Runnable o
        end local 0 // org.apache.tomcat.util.threads.TaskQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/tomcat/util/threads/TaskQueue;
            0    3     1     o  Ljava/lang/Runnable;
    MethodParameters:
      Name  Flags
      o     

  public boolean force(java.lang.Runnable, long, java.util.concurrent.TimeUnit);
    descriptor: (Ljava/lang/Runnable;JLjava/util/concurrent/TimeUnit;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=5, args_size=4
        start local 0 // org.apache.tomcat.util.threads.TaskQueue this
        start local 1 // java.lang.Runnable o
        start local 2 // long timeout
        start local 4 // java.util.concurrent.TimeUnit unit
         0: .line 68
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            ifnull 1
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.isShutdown:()Z
            ifeq 2
      StackMap locals:
      StackMap stack:
         1: new java.util.concurrent.RejectedExecutionException
            dup
            getstatic org.apache.tomcat.util.threads.TaskQueue.sm:Lorg/apache/tomcat/util/res/StringManager;
            ldc "taskQueue.notRunning"
            invokevirtual org.apache.tomcat.util.res.StringManager.getString:(Ljava/lang/String;)Ljava/lang/String;
            invokespecial java.util.concurrent.RejectedExecutionException.<init>:(Ljava/lang/String;)V
            athrow
         2: .line 69
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* o */
            lload 2 /* timeout */
            aload 4 /* unit */
            invokespecial java.util.concurrent.LinkedBlockingQueue.offer:(Ljava/lang/Object;JLjava/util/concurrent/TimeUnit;)Z
            ireturn
        end local 4 // java.util.concurrent.TimeUnit unit
        end local 2 // long timeout
        end local 1 // java.lang.Runnable o
        end local 0 // org.apache.tomcat.util.threads.TaskQueue this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lorg/apache/tomcat/util/threads/TaskQueue;
            0    3     1        o  Ljava/lang/Runnable;
            0    3     2  timeout  J
            0    3     4     unit  Ljava/util/concurrent/TimeUnit;
    Exceptions:
      throws java.lang.InterruptedException
    MethodParameters:
         Name  Flags
      o        
      timeout  
      unit     

  public boolean offer(java.lang.Runnable);
    descriptor: (Ljava/lang/Runnable;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.tomcat.util.threads.TaskQueue this
        start local 1 // java.lang.Runnable o
         0: .line 75
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            ifnonnull 1
            aload 0 /* this */
            aload 1 /* o */
            invokespecial java.util.concurrent.LinkedBlockingQueue.offer:(Ljava/lang/Object;)Z
            ireturn
         1: .line 77
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.getPoolSize:()I
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.getMaximumPoolSize:()I
            if_icmpne 2
            aload 0 /* this */
            aload 1 /* o */
            invokespecial java.util.concurrent.LinkedBlockingQueue.offer:(Ljava/lang/Object;)Z
            ireturn
         2: .line 79
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.getSubmittedCount:()I
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.getPoolSize:()I
            if_icmpgt 3
            aload 0 /* this */
            aload 1 /* o */
            invokespecial java.util.concurrent.LinkedBlockingQueue.offer:(Ljava/lang/Object;)Z
            ireturn
         3: .line 81
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.getPoolSize:()I
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.getMaximumPoolSize:()I
            if_icmpge 4
            iconst_0
            ireturn
         4: .line 83
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* o */
            invokespecial java.util.concurrent.LinkedBlockingQueue.offer:(Ljava/lang/Object;)Z
            ireturn
        end local 1 // java.lang.Runnable o
        end local 0 // org.apache.tomcat.util.threads.TaskQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/tomcat/util/threads/TaskQueue;
            0    5     1     o  Ljava/lang/Runnable;
    MethodParameters:
      Name  Flags
      o     

  public java.lang.Runnable poll(long, java.util.concurrent.TimeUnit);
    descriptor: (JLjava/util/concurrent/TimeUnit;)Ljava/lang/Runnable;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=5, args_size=3
        start local 0 // org.apache.tomcat.util.threads.TaskQueue this
        start local 1 // long timeout
        start local 3 // java.util.concurrent.TimeUnit unit
         0: .line 90
            aload 0 /* this */
            lload 1 /* timeout */
            aload 3 /* unit */
            invokespecial java.util.concurrent.LinkedBlockingQueue.poll:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
            checkcast java.lang.Runnable
            astore 4 /* runnable */
        start local 4 // java.lang.Runnable runnable
         1: .line 91
            aload 4 /* runnable */
            ifnonnull 3
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            ifnull 3
         2: .line 94
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.stopCurrentThreadIfNeeded:()V
         3: .line 96
      StackMap locals: java.lang.Runnable
      StackMap stack:
            aload 4 /* runnable */
            areturn
        end local 4 // java.lang.Runnable runnable
        end local 3 // java.util.concurrent.TimeUnit unit
        end local 1 // long timeout
        end local 0 // org.apache.tomcat.util.threads.TaskQueue this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    4     0      this  Lorg/apache/tomcat/util/threads/TaskQueue;
            0    4     1   timeout  J
            0    4     3      unit  Ljava/util/concurrent/TimeUnit;
            1    4     4  runnable  Ljava/lang/Runnable;
    Exceptions:
      throws java.lang.InterruptedException
    MethodParameters:
         Name  Flags
      timeout  
      unit     

  public java.lang.Runnable take();
    descriptor: ()Ljava/lang/Runnable;
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=4, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.threads.TaskQueue this
         0: .line 101
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            ifnull 4
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.currentThreadShouldBeStopped:()Z
            ifeq 4
         1: .line 102
            aload 0 /* this */
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.parent:Lorg/apache/tomcat/util/threads/ThreadPoolExecutor;
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
            invokevirtual org.apache.tomcat.util.threads.ThreadPoolExecutor.getKeepAliveTime:(Ljava/util/concurrent/TimeUnit;)J
         2: .line 103
            getstatic java.util.concurrent.TimeUnit.MILLISECONDS:Ljava/util/concurrent/TimeUnit;
         3: .line 102
            invokevirtual org.apache.tomcat.util.threads.TaskQueue.poll:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Runnable;
            areturn
         4: .line 108
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokespecial java.util.concurrent.LinkedBlockingQueue.take:()Ljava/lang/Object;
            checkcast java.lang.Runnable
            areturn
        end local 0 // org.apache.tomcat.util.threads.TaskQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/tomcat/util/threads/TaskQueue;
    Exceptions:
      throws java.lang.InterruptedException

  public int remainingCapacity();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.threads.TaskQueue this
         0: .line 113
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.forcedRemainingCapacity:I
            iconst_m1
            if_icmple 2
         1: .line 118
            aload 0 /* this */
            getfield org.apache.tomcat.util.threads.TaskQueue.forcedRemainingCapacity:I
            ireturn
         2: .line 120
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokespecial java.util.concurrent.LinkedBlockingQueue.remainingCapacity:()I
            ireturn
        end local 0 // org.apache.tomcat.util.threads.TaskQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/tomcat/util/threads/TaskQueue;

  public void setForcedRemainingCapacity(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.tomcat.util.threads.TaskQueue this
        start local 1 // int forcedRemainingCapacity
         0: .line 124
            aload 0 /* this */
            iload 1 /* forcedRemainingCapacity */
            putfield org.apache.tomcat.util.threads.TaskQueue.forcedRemainingCapacity:I
         1: .line 125
            return
        end local 1 // int forcedRemainingCapacity
        end local 0 // org.apache.tomcat.util.threads.TaskQueue this
      LocalVariableTable:
        Start  End  Slot                     Name  Signature
            0    2     0                     this  Lorg/apache/tomcat/util/threads/TaskQueue;
            0    2     1  forcedRemainingCapacity  I
    MethodParameters:
                         Name  Flags
      forcedRemainingCapacity  

  void resetForcedRemainingCapacity();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.tomcat.util.threads.TaskQueue this
         0: .line 128
            aload 0 /* this */
            iconst_m1
            putfield org.apache.tomcat.util.threads.TaskQueue.forcedRemainingCapacity:I
         1: .line 129
            return
        end local 0 // org.apache.tomcat.util.threads.TaskQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/tomcat/util/threads/TaskQueue;

  public java.lang.Object poll(long, java.util.concurrent.TimeUnit);
    descriptor: (JLjava/util/concurrent/TimeUnit;)Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=4, locals=4, args_size=3
         0: .line 1
            aload 0
            lload 1
            aload 3
            invokevirtual org.apache.tomcat.util.threads.TaskQueue.poll:(JLjava/util/concurrent/TimeUnit;)Ljava/lang/Runnable;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.InterruptedException

  public boolean offer(java.lang.Object);
    descriptor: (Ljava/lang/Object;)Z
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=2, locals=2, args_size=2
         0: .line 1
            aload 0
            aload 1
            checkcast java.lang.Runnable
            invokevirtual org.apache.tomcat.util.threads.TaskQueue.offer:(Ljava/lang/Runnable;)Z
            ireturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  public java.lang.Object take();
    descriptor: ()Ljava/lang/Object;
    flags: (0x1041) ACC_PUBLIC, ACC_BRIDGE, ACC_SYNTHETIC
    Code:
      stack=1, locals=1, args_size=1
         0: .line 1
            aload 0
            invokevirtual org.apache.tomcat.util.threads.TaskQueue.take:()Ljava/lang/Runnable;
            areturn
      LocalVariableTable:
        Start  End  Slot  Name  Signature
    Exceptions:
      throws java.lang.InterruptedException
}
Signature: Ljava/util/concurrent/LinkedBlockingQueue<Ljava/lang/Runnable;>;
SourceFile: "TaskQueue.java"