public abstract class org.springframework.util.ConcurrencyThrottleSupport implements java.io.Serializable
  minor version: 0
  major version: 59
  flags: flags: (0x0421) ACC_PUBLIC, ACC_SUPER, ACC_ABSTRACT
  this_class: org.springframework.util.ConcurrencyThrottleSupport
  super_class: java.lang.Object
{
  public static final int UNBOUNDED_CONCURRENCY;
    descriptor: I
    flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
    ConstantValue: -1

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

  protected transient org.apache.commons.logging.Log logger;
    descriptor: Lorg/apache/commons/logging/Log;
    flags: (0x0084) ACC_PROTECTED, ACC_TRANSIENT

  private transient java.lang.Object monitor;
    descriptor: Ljava/lang/Object;
    flags: (0x0082) ACC_PRIVATE, ACC_TRANSIENT

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

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

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.springframework.util.ConcurrencyThrottleSupport this
         0: .line 47
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 61
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
            putfield org.springframework.util.ConcurrencyThrottleSupport.logger:Lorg/apache/commons/logging/Log;
         2: .line 63
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield org.springframework.util.ConcurrencyThrottleSupport.monitor:Ljava/lang/Object;
         3: .line 65
            aload 0 /* this */
            iconst_m1
            putfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyLimit:I
         4: .line 67
            aload 0 /* this */
            iconst_0
            putfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyCount:I
         5: .line 47
            return
        end local 0 // org.springframework.util.ConcurrencyThrottleSupport this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    6     0  this  Lorg/springframework/util/ConcurrencyThrottleSupport;

  public void setConcurrencyLimit(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.springframework.util.ConcurrencyThrottleSupport this
        start local 1 // int concurrencyLimit
         0: .line 80
            aload 0 /* this */
            iload 1 /* concurrencyLimit */
            putfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyLimit:I
         1: .line 81
            return
        end local 1 // int concurrencyLimit
        end local 0 // org.springframework.util.ConcurrencyThrottleSupport this
      LocalVariableTable:
        Start  End  Slot              Name  Signature
            0    2     0              this  Lorg/springframework/util/ConcurrencyThrottleSupport;
            0    2     1  concurrencyLimit  I
    MethodParameters:
                  Name  Flags
      concurrencyLimit  

  public int getConcurrencyLimit();
    descriptor: ()I
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.springframework.util.ConcurrencyThrottleSupport this
         0: .line 87
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyLimit:I
            ireturn
        end local 0 // org.springframework.util.ConcurrencyThrottleSupport this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/springframework/util/ConcurrencyThrottleSupport;

  public boolean isThrottleActive();
    descriptor: ()Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.springframework.util.ConcurrencyThrottleSupport this
         0: .line 96
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyLimit:I
            iflt 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // org.springframework.util.ConcurrencyThrottleSupport this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/springframework/util/ConcurrencyThrottleSupport;

  protected void beforeAccess();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=4, args_size=1
        start local 0 // org.springframework.util.ConcurrencyThrottleSupport this
         0: .line 106
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyLimit:I
            ifne 4
         1: .line 107
            new java.lang.IllegalStateException
            dup
         2: .line 108
            ldc "Currently no invocations allowed - concurrency limit set to NO_CONCURRENCY"
         3: .line 107
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
         4: .line 110
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyLimit:I
            ifle 28
         5: .line 111
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.logger:Lorg/apache/commons/logging/Log;
            invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
            istore 1 /* debug */
        start local 1 // boolean debug
         6: .line 112
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.monitor:Ljava/lang/Object;
            dup
            astore 2
            monitorenter
         7: .line 113
            iconst_0
            istore 3 /* interrupted */
        start local 3 // boolean interrupted
         8: .line 114
            goto 20
         9: .line 115
      StackMap locals: int java.lang.Object int
      StackMap stack:
            iload 3 /* interrupted */
            ifeq 11
        10: .line 116
            new java.lang.IllegalStateException
            dup
            ldc "Thread was interrupted while waiting for invocation access, but concurrency limit still does not allow for entering"
            invokespecial java.lang.IllegalStateException.<init>:(Ljava/lang/String;)V
            athrow
        11: .line 119
      StackMap locals:
      StackMap stack:
            iload 1 /* debug */
            ifeq 15
        12: .line 120
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.logger:Lorg/apache/commons/logging/Log;
            new java.lang.StringBuilder
            dup
            ldc "Concurrency count "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyCount:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
        13: .line 121
            ldc " has reached limit "
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyLimit:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            ldc " - blocking"
            invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
        14: .line 120
            invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
        15: .line 124
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.monitor:Ljava/lang/Object;
            invokevirtual java.lang.Object.wait:()V
        16: .line 125
            goto 20
        17: .line 126
      StackMap locals:
      StackMap stack: java.lang.InterruptedException
            pop
        18: .line 128
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokevirtual java.lang.Thread.interrupt:()V
        19: .line 129
            iconst_1
            istore 3 /* interrupted */
        20: .line 114
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyCount:I
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyLimit:I
            if_icmpge 9
        21: .line 132
            iload 1 /* debug */
            ifeq 23
        22: .line 133
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.logger:Lorg/apache/commons/logging/Log;
            new java.lang.StringBuilder
            dup
            ldc "Entering throttle at concurrency count "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyCount:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
        23: .line 135
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            getfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyCount:I
            iconst_1
            iadd
            putfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyCount:I
        end local 3 // boolean interrupted
        24: .line 112
            aload 2
            monitorexit
        25: goto 28
      StackMap locals: org.springframework.util.ConcurrencyThrottleSupport int java.lang.Object
      StackMap stack: java.lang.Throwable
        26: aload 2
            monitorexit
        27: athrow
        end local 1 // boolean debug
        28: .line 138
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.springframework.util.ConcurrencyThrottleSupport this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0   29     0         this  Lorg/springframework/util/ConcurrencyThrottleSupport;
            6   28     1        debug  Z
            8   24     3  interrupted  Z
      Exception table:
        from    to  target  type
          15    16      17  Class java.lang.InterruptedException
           7    25      26  any
          26    27      26  any

  protected void afterAccess();
    descriptor: ()V
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=4, locals=2, args_size=1
        start local 0 // org.springframework.util.ConcurrencyThrottleSupport this
         0: .line 145
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyLimit:I
            iflt 10
         1: .line 146
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.monitor:Ljava/lang/Object;
            dup
            astore 1
            monitorenter
         2: .line 147
            aload 0 /* this */
            dup
            getfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyCount:I
            iconst_1
            isub
            putfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyCount:I
         3: .line 148
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.logger:Lorg/apache/commons/logging/Log;
            invokeinterface org.apache.commons.logging.Log.isDebugEnabled:()Z
            ifeq 5
         4: .line 149
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.logger:Lorg/apache/commons/logging/Log;
            new java.lang.StringBuilder
            dup
            ldc "Returning from throttle at concurrency count "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.concurrencyCount:I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokeinterface org.apache.commons.logging.Log.debug:(Ljava/lang/Object;)V
         5: .line 151
      StackMap locals: java.lang.Object
      StackMap stack:
            aload 0 /* this */
            getfield org.springframework.util.ConcurrencyThrottleSupport.monitor:Ljava/lang/Object;
            invokevirtual java.lang.Object.notify:()V
         6: .line 146
            aload 1
            monitorexit
         7: goto 10
      StackMap locals:
      StackMap stack: java.lang.Throwable
         8: aload 1
            monitorexit
         9: athrow
        10: .line 154
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.springframework.util.ConcurrencyThrottleSupport this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   11     0  this  Lorg/springframework/util/ConcurrencyThrottleSupport;
      Exception table:
        from    to  target  type
           2     7       8  any
           8     9       8  any

  private void readObject(java.io.ObjectInputStream);
    descriptor: (Ljava/io/ObjectInputStream;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=2, args_size=2
        start local 0 // org.springframework.util.ConcurrencyThrottleSupport this
        start local 1 // java.io.ObjectInputStream ois
         0: .line 163
            aload 1 /* ois */
            invokevirtual java.io.ObjectInputStream.defaultReadObject:()V
         1: .line 166
            aload 0 /* this */
            aload 0 /* this */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            invokestatic org.apache.commons.logging.LogFactory.getLog:(Ljava/lang/Class;)Lorg/apache/commons/logging/Log;
            putfield org.springframework.util.ConcurrencyThrottleSupport.logger:Lorg/apache/commons/logging/Log;
         2: .line 167
            aload 0 /* this */
            new java.lang.Object
            dup
            invokespecial java.lang.Object.<init>:()V
            putfield org.springframework.util.ConcurrencyThrottleSupport.monitor:Ljava/lang/Object;
         3: .line 168
            return
        end local 1 // java.io.ObjectInputStream ois
        end local 0 // org.springframework.util.ConcurrencyThrottleSupport this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/springframework/util/ConcurrencyThrottleSupport;
            0    4     1   ois  Ljava/io/ObjectInputStream;
    Exceptions:
      throws java.io.IOException, java.lang.ClassNotFoundException
    MethodParameters:
      Name  Flags
      ois   
}
SourceFile: "ConcurrencyThrottleSupport.java"