final class org.apache.lucene.index.DocumentsWriterStallControl
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.apache.lucene.index.DocumentsWriterStallControl
  super_class: java.lang.Object
{
  private volatile boolean stalled;
    descriptor: Z
    flags: (0x0042) ACC_PRIVATE, ACC_VOLATILE

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

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

  private final java.util.Map<java.lang.Thread, java.lang.Boolean> waiting;
    descriptor: Ljava/util/Map;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Map<Ljava/lang/Thread;Ljava/lang/Boolean;>;

  static final boolean $assertionsDisabled;
    descriptor: Z
    flags: (0x1018) ACC_STATIC, ACC_FINAL, ACC_SYNTHETIC

  static void <clinit>();
    descriptor: ()V
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=0, args_size=0
         0: .line 39
            ldc Lorg/apache/lucene/index/DocumentsWriterStallControl;
            invokevirtual java.lang.Class.desiredAssertionStatus:()Z
            ifne 1
            iconst_1
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_0
      StackMap locals:
      StackMap stack: int
         2: putstatic org.apache.lucene.index.DocumentsWriterStallControl.$assertionsDisabled:Z
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  void <init>();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
         0: .line 39
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 44
            aload 0 /* this */
            new java.util.IdentityHashMap
            dup
            invokespecial java.util.IdentityHashMap.<init>:()V
            putfield org.apache.lucene.index.DocumentsWriterStallControl.waiting:Ljava/util/Map;
         2: .line 39
            return
        end local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/lucene/index/DocumentsWriterStallControl;

  synchronized void updateStalled(boolean);
    descriptor: (Z)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
        start local 1 // boolean stalled
         0: .line 55
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterStallControl.stalled:Z
            iload 1 /* stalled */
            if_icmpeq 5
         1: .line 56
            aload 0 /* this */
            iload 1 /* stalled */
            putfield org.apache.lucene.index.DocumentsWriterStallControl.stalled:Z
         2: .line 57
            iload 1 /* stalled */
            ifeq 4
         3: .line 58
            aload 0 /* this */
            iconst_1
            putfield org.apache.lucene.index.DocumentsWriterStallControl.wasStalled:Z
         4: .line 60
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            invokevirtual java.lang.Object.notifyAll:()V
         5: .line 62
      StackMap locals:
      StackMap stack:
            return
        end local 1 // boolean stalled
        end local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    6     0     this  Lorg/apache/lucene/index/DocumentsWriterStallControl;
            0    6     1  stalled  Z
    MethodParameters:
         Name  Flags
      stalled  

  void waitIfStalled();
    descriptor: ()V
    flags: (0x0000) 
    Code:
      stack=3, locals=3, args_size=1
        start local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
         0: .line 69
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterStallControl.stalled:Z
            ifeq 13
         1: .line 70
            aload 0 /* this */
            dup
            astore 1
            monitorenter
         2: .line 71
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterStallControl.stalled:Z
            ifeq 9
         3: .line 74
            aload 0 /* this */
            invokevirtual org.apache.lucene.index.DocumentsWriterStallControl.incWaiters:()V
         4: .line 77
            aload 0 /* this */
            ldc 1000
            invokevirtual java.lang.Object.wait:(J)V
         5: .line 78
            aload 0 /* this */
            invokevirtual org.apache.lucene.index.DocumentsWriterStallControl.decrWaiters:()V
         6: .line 79
            goto 9
      StackMap locals: org.apache.lucene.index.DocumentsWriterStallControl org.apache.lucene.index.DocumentsWriterStallControl
      StackMap stack: java.lang.InterruptedException
         7: astore 2 /* e */
        start local 2 // java.lang.InterruptedException e
         8: .line 80
            new org.apache.lucene.util.ThreadInterruptedException
            dup
            aload 2 /* e */
            invokespecial org.apache.lucene.util.ThreadInterruptedException.<init>:(Ljava/lang/InterruptedException;)V
            athrow
        end local 2 // java.lang.InterruptedException e
         9: .line 70
      StackMap locals:
      StackMap stack:
            aload 1
            monitorexit
        10: goto 13
      StackMap locals:
      StackMap stack: java.lang.Throwable
        11: aload 1
            monitorexit
        12: athrow
        13: .line 85
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0   14     0  this  Lorg/apache/lucene/index/DocumentsWriterStallControl;
            8    9     2     e  Ljava/lang/InterruptedException;
      Exception table:
        from    to  target  type
           3     6       7  Class java.lang.InterruptedException
           2    10      11  any
          11    12      11  any

  boolean anyStalledThreads();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
         0: .line 88
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterStallControl.stalled:Z
            ireturn
        end local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/index/DocumentsWriterStallControl;

  private void incWaiters();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
         0: .line 92
            aload 0 /* this */
            dup
            getfield org.apache.lucene.index.DocumentsWriterStallControl.numWaiting:I
            iconst_1
            iadd
            putfield org.apache.lucene.index.DocumentsWriterStallControl.numWaiting:I
         1: .line 93
            getstatic org.apache.lucene.index.DocumentsWriterStallControl.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterStallControl.waiting:Ljava/util/Map;
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            getstatic java.lang.Boolean.TRUE:Ljava/lang/Boolean;
            invokeinterface java.util.Map.put:(Ljava/lang/Object;Ljava/lang/Object;)Ljava/lang/Object;
            ifnull 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 94
      StackMap locals:
      StackMap stack:
            getstatic org.apache.lucene.index.DocumentsWriterStallControl.$assertionsDisabled:Z
            ifne 3
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterStallControl.numWaiting:I
            ifgt 3
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 95
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/lucene/index/DocumentsWriterStallControl;

  private void decrWaiters();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=3, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
         0: .line 98
            aload 0 /* this */
            dup
            getfield org.apache.lucene.index.DocumentsWriterStallControl.numWaiting:I
            iconst_1
            isub
            putfield org.apache.lucene.index.DocumentsWriterStallControl.numWaiting:I
         1: .line 99
            getstatic org.apache.lucene.index.DocumentsWriterStallControl.$assertionsDisabled:Z
            ifne 2
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterStallControl.waiting:Ljava/util/Map;
            invokestatic java.lang.Thread.currentThread:()Ljava/lang/Thread;
            invokeinterface java.util.Map.remove:(Ljava/lang/Object;)Ljava/lang/Object;
            ifnonnull 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 100
      StackMap locals:
      StackMap stack:
            getstatic org.apache.lucene.index.DocumentsWriterStallControl.$assertionsDisabled:Z
            ifne 3
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterStallControl.numWaiting:I
            ifge 3
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         3: .line 101
      StackMap locals:
      StackMap stack:
            return
        end local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    4     0  this  Lorg/apache/lucene/index/DocumentsWriterStallControl;

  synchronized boolean hasBlocked();
    descriptor: ()Z
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
         0: .line 104
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterStallControl.numWaiting:I
            ifle 1
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         1: iconst_0
            ireturn
        end local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/lucene/index/DocumentsWriterStallControl;

  boolean isHealthy();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
         0: .line 108
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterStallControl.stalled:Z
            ifeq 1
            iconst_0
            goto 2
      StackMap locals:
      StackMap stack:
         1: iconst_1
      StackMap locals:
      StackMap stack: int
         2: ireturn
        end local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/lucene/index/DocumentsWriterStallControl;

  synchronized boolean isThreadQueued(java.lang.Thread);
    descriptor: (Ljava/lang/Thread;)Z
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
        start local 1 // java.lang.Thread t
         0: .line 112
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterStallControl.waiting:Ljava/util/Map;
            aload 1 /* t */
            invokeinterface java.util.Map.containsKey:(Ljava/lang/Object;)Z
            ireturn
        end local 1 // java.lang.Thread t
        end local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/index/DocumentsWriterStallControl;
            0    1     1     t  Ljava/lang/Thread;
    MethodParameters:
      Name  Flags
      t     

  synchronized boolean wasStalled();
    descriptor: ()Z
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
         0: .line 116
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterStallControl.wasStalled:Z
            ireturn
        end local 0 // org.apache.lucene.index.DocumentsWriterStallControl this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/index/DocumentsWriterStallControl;
}
SourceFile: "DocumentsWriterStallControl.java"