final class org.apache.lucene.index.DocumentsWriterFlushQueue
  minor version: 0
  major version: 59
  flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
  this_class: org.apache.lucene.index.DocumentsWriterFlushQueue
  super_class: java.lang.Object
{
  private final java.util.Queue<org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket> queue;
    descriptor: Ljava/util/Queue;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL
    Signature: Ljava/util/Queue<Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;>;

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

  private final java.util.concurrent.locks.ReentrantLock purgeLock;
    descriptor: Ljava/util/concurrent/locks/ReentrantLock;
    flags: (0x0012) ACC_PRIVATE, ACC_FINAL

  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 31
            ldc Lorg/apache/lucene/index/DocumentsWriterFlushQueue;
            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.DocumentsWriterFlushQueue.$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.DocumentsWriterFlushQueue this
         0: .line 31
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 32
            aload 0 /* this */
            new java.util.LinkedList
            dup
            invokespecial java.util.LinkedList.<init>:()V
            putfield org.apache.lucene.index.DocumentsWriterFlushQueue.queue:Ljava/util/Queue;
         2: .line 35
            aload 0 /* this */
            new java.util.concurrent.atomic.AtomicInteger
            dup
            invokespecial java.util.concurrent.atomic.AtomicInteger.<init>:()V
            putfield org.apache.lucene.index.DocumentsWriterFlushQueue.ticketCount:Ljava/util/concurrent/atomic/AtomicInteger;
         3: .line 36
            aload 0 /* this */
            new java.util.concurrent.locks.ReentrantLock
            dup
            invokespecial java.util.concurrent.locks.ReentrantLock.<init>:()V
            putfield org.apache.lucene.index.DocumentsWriterFlushQueue.purgeLock:Ljava/util/concurrent/locks/ReentrantLock;
         4: .line 31
            return
        end local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    5     0  this  Lorg/apache/lucene/index/DocumentsWriterFlushQueue;

  synchronized boolean addDeletes(org.apache.lucene.index.DocumentsWriterDeleteQueue);
    descriptor: (Lorg/apache/lucene/index/DocumentsWriterDeleteQueue;)Z
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=5, locals=5, args_size=2
        start local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
        start local 1 // org.apache.lucene.index.DocumentsWriterDeleteQueue deleteQueue
         0: .line 39
            aload 0 /* this */
            invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.incTickets:()V
         1: .line 41
            iconst_0
            istore 2 /* success */
        start local 2 // boolean success
         2: .line 43
            aload 1 /* deleteQueue */
            invokevirtual org.apache.lucene.index.DocumentsWriterDeleteQueue.maybeFreezeGlobalBuffer:()Lorg/apache/lucene/index/FrozenBufferedUpdates;
            astore 3 /* frozenBufferedUpdates */
        start local 3 // org.apache.lucene.index.FrozenBufferedUpdates frozenBufferedUpdates
         3: .line 44
            aload 3 /* frozenBufferedUpdates */
            ifnull 11
         4: .line 45
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.queue:Ljava/util/Queue;
            new org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket
            dup
            aload 3 /* frozenBufferedUpdates */
            iconst_0
            invokespecial org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.<init>:(Lorg/apache/lucene/index/FrozenBufferedUpdates;Z)V
            invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
            pop
         5: .line 46
            iconst_1
            istore 2 /* success */
        end local 3 // org.apache.lucene.index.FrozenBufferedUpdates frozenBufferedUpdates
         6: .line 48
            goto 11
      StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.index.DocumentsWriterDeleteQueue int
      StackMap stack: java.lang.Throwable
         7: astore 4
         8: .line 49
            iload 2 /* success */
            ifne 10
         9: .line 50
            aload 0 /* this */
            invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.decTickets:()V
        10: .line 52
      StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.index.DocumentsWriterDeleteQueue int top java.lang.Throwable
      StackMap stack:
            aload 4
            athrow
        11: .line 49
      StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.index.DocumentsWriterDeleteQueue int
      StackMap stack:
            iload 2 /* success */
            ifne 13
        12: .line 50
            aload 0 /* this */
            invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.decTickets:()V
        13: .line 53
      StackMap locals:
      StackMap stack:
            iload 2 /* success */
            ireturn
        end local 2 // boolean success
        end local 1 // org.apache.lucene.index.DocumentsWriterDeleteQueue deleteQueue
        end local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
      LocalVariableTable:
        Start  End  Slot                   Name  Signature
            0   14     0                   this  Lorg/apache/lucene/index/DocumentsWriterFlushQueue;
            0   14     1            deleteQueue  Lorg/apache/lucene/index/DocumentsWriterDeleteQueue;
            2   14     2                success  Z
            3    6     3  frozenBufferedUpdates  Lorg/apache/lucene/index/FrozenBufferedUpdates;
      Exception table:
        from    to  target  type
           2     7       7  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
             Name  Flags
      deleteQueue  

  private void incTickets();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
         0: .line 57
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.ticketCount:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
            istore 1 /* numTickets */
        start local 1 // int numTickets
         1: .line 58
            getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
            ifne 2
            iload 1 /* numTickets */
            ifgt 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 59
      StackMap locals: int
      StackMap stack:
            return
        end local 1 // int numTickets
        end local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    3     0        this  Lorg/apache/lucene/index/DocumentsWriterFlushQueue;
            1    3     1  numTickets  I

  private void decTickets();
    descriptor: ()V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=2, args_size=1
        start local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
         0: .line 62
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.ticketCount:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
            istore 1 /* numTickets */
        start local 1 // int numTickets
         1: .line 63
            getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
            ifne 2
            iload 1 /* numTickets */
            ifge 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 64
      StackMap locals: int
      StackMap stack:
            return
        end local 1 // int numTickets
        end local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    3     0        this  Lorg/apache/lucene/index/DocumentsWriterFlushQueue;
            1    3     1  numTickets  I

  synchronized org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket addFlushTicket(org.apache.lucene.index.DocumentsWriterPerThread);
    descriptor: (Lorg/apache/lucene/index/DocumentsWriterPerThread;)Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=4, locals=6, args_size=2
        start local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
        start local 1 // org.apache.lucene.index.DocumentsWriterPerThread dwpt
         0: .line 69
            aload 0 /* this */
            invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.incTickets:()V
         1: .line 70
            iconst_0
            istore 2 /* success */
        start local 2 // boolean success
         2: .line 73
            new org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket
            dup
            aload 1 /* dwpt */
            invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.prepareFlush:()Lorg/apache/lucene/index/FrozenBufferedUpdates;
            iconst_1
            invokespecial org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.<init>:(Lorg/apache/lucene/index/FrozenBufferedUpdates;Z)V
            astore 3 /* ticket */
        start local 3 // org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket ticket
         3: .line 74
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.queue:Ljava/util/Queue;
            aload 3 /* ticket */
            invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
            pop
         4: .line 75
            iconst_1
            istore 2 /* success */
         5: .line 76
            aload 3 /* ticket */
            astore 5
         6: .line 78
            iload 2 /* success */
            ifne 8
         7: .line 79
            aload 0 /* this */
            invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.decTickets:()V
         8: .line 76
      StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.index.DocumentsWriterPerThread int org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket top org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket
      StackMap stack:
            aload 5
            areturn
        end local 3 // org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket ticket
         9: .line 77
      StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.index.DocumentsWriterPerThread int
      StackMap stack: java.lang.Throwable
            astore 4
        10: .line 78
            iload 2 /* success */
            ifne 12
        11: .line 79
            aload 0 /* this */
            invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.decTickets:()V
        12: .line 81
      StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.index.DocumentsWriterPerThread int top java.lang.Throwable
      StackMap stack:
            aload 4
            athrow
        end local 2 // boolean success
        end local 1 // org.apache.lucene.index.DocumentsWriterPerThread dwpt
        end local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0   13     0     this  Lorg/apache/lucene/index/DocumentsWriterFlushQueue;
            0   13     1     dwpt  Lorg/apache/lucene/index/DocumentsWriterPerThread;
            2   13     2  success  Z
            3    9     3   ticket  Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
      Exception table:
        from    to  target  type
           2     6       9  any
    Exceptions:
      throws java.io.IOException
    MethodParameters:
      Name  Flags
      dwpt  

  synchronized void addSegment(org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket, org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment);
    descriptor: (Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=3, args_size=3
        start local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
        start local 1 // org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket ticket
        start local 2 // org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment segment
         0: .line 85
            getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
            ifne 1
            aload 1 /* ticket */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.hasSegment:Z
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 88
      StackMap locals:
      StackMap stack:
            aload 1 /* ticket */
            aload 2 /* segment */
            invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.setSegment:(Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;)V
         2: .line 89
            return
        end local 2 // org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment segment
        end local 1 // org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket ticket
        end local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
      LocalVariableTable:
        Start  End  Slot     Name  Signature
            0    3     0     this  Lorg/apache/lucene/index/DocumentsWriterFlushQueue;
            0    3     1   ticket  Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
            0    3     2  segment  Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;
    MethodParameters:
         Name  Flags
      ticket   
      segment  

  synchronized void markTicketFailed(org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket);
    descriptor: (Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;)V
    flags: (0x0020) ACC_SYNCHRONIZED
    Code:
      stack=2, locals=2, args_size=2
        start local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
        start local 1 // org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket ticket
         0: .line 92
            getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
            ifne 1
            aload 1 /* ticket */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.hasSegment:Z
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 94
      StackMap locals:
      StackMap stack:
            aload 1 /* ticket */
            invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.setFailed:()V
         2: .line 95
            return
        end local 1 // org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket ticket
        end local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
      LocalVariableTable:
        Start  End  Slot    Name  Signature
            0    3     0    this  Lorg/apache/lucene/index/DocumentsWriterFlushQueue;
            0    3     1  ticket  Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
    MethodParameters:
        Name  Flags
      ticket  

  boolean hasTickets();
    descriptor: ()Z
    flags: (0x0000) 
    Code:
      stack=5, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
         0: .line 98
            getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.ticketCount:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            ifge 1
            new java.lang.AssertionError
            dup
            new java.lang.StringBuilder
            dup
            ldc "ticketCount should be >= 0 but was: "
            invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.ticketCount:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            invokevirtual java.lang.StringBuilder.append:(I)Ljava/lang/StringBuilder;
            invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
            invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
            athrow
         1: .line 99
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.ticketCount:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            ifeq 2
            iconst_1
            ireturn
      StackMap locals:
      StackMap stack:
         2: iconst_0
            ireturn
        end local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    3     0  this  Lorg/apache/lucene/index/DocumentsWriterFlushQueue;

  private void innerPurge(org.apache.lucene.util.IOUtils$IOConsumer<org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket>);
    descriptor: (Lorg/apache/lucene/util/IOUtils$IOConsumer;)V
    flags: (0x0002) ACC_PRIVATE
    Code:
      stack=2, locals=7, args_size=2
        start local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
        start local 1 // org.apache.lucene.util.IOUtils$IOConsumer consumer
         0: .line 103
            getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.purgeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.isHeldByCurrentThread:()Z
            ifne 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 107
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 4
            monitorenter
         2: .line 108
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.queue:Ljava/util/Queue;
            invokeinterface java.util.Queue.peek:()Ljava/lang/Object;
            checkcast org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket
            astore 2 /* head */
        start local 2 // org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket head
         3: .line 109
            aload 2 /* head */
            ifnull 4
            aload 2 /* head */
            invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.canPublish:()Z
            ifeq 4
            iconst_1
            goto 5
      StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.util.IOUtils$IOConsumer org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket top org.apache.lucene.index.DocumentsWriterFlushQueue
      StackMap stack:
         4: iconst_0
      StackMap locals:
      StackMap stack: int
         5: istore 3 /* canPublish */
        start local 3 // boolean canPublish
         6: .line 107
            aload 4
            monitorexit
         7: goto 10
        end local 3 // boolean canPublish
        end local 2 // org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket head
      StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.util.IOUtils$IOConsumer top top org.apache.lucene.index.DocumentsWriterFlushQueue
      StackMap stack: java.lang.Throwable
         8: aload 4
            monitorexit
         9: athrow
        start local 2 // org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket head
        start local 3 // boolean canPublish
        10: .line 111
      StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.util.IOUtils$IOConsumer org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket int
      StackMap stack:
            iload 3 /* canPublish */
            ifeq 31
        11: .line 119
            aload 1 /* consumer */
            aload 2 /* head */
            invokeinterface org.apache.lucene.util.IOUtils$IOConsumer.accept:(Ljava/lang/Object;)V
        12: .line 121
            goto 23
      StackMap locals:
      StackMap stack: java.lang.Throwable
        13: astore 4
        14: .line 122
            aload 0 /* this */
            dup
            astore 5
            monitorenter
        15: .line 124
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.queue:Ljava/util/Queue;
            invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
            checkcast org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket
            astore 6 /* poll */
        start local 6 // org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket poll
        16: .line 125
            aload 0 /* this */
            invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.decTickets:()V
        17: .line 127
            getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
            ifne 18
            aload 6 /* poll */
            aload 2 /* head */
            if_acmpeq 18
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        end local 6 // org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket poll
        18: .line 122
      StackMap locals: java.lang.Throwable org.apache.lucene.index.DocumentsWriterFlushQueue
      StackMap stack:
            aload 5
            monitorexit
        19: goto 22
      StackMap locals:
      StackMap stack: java.lang.Throwable
        20: aload 5
            monitorexit
        21: athrow
        22: .line 129
      StackMap locals:
      StackMap stack:
            aload 4
            athrow
        23: .line 122
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            dup
            astore 5
            monitorenter
        24: .line 124
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.queue:Ljava/util/Queue;
            invokeinterface java.util.Queue.poll:()Ljava/lang/Object;
            checkcast org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket
            astore 6 /* poll */
        start local 6 // org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket poll
        25: .line 125
            aload 0 /* this */
            invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.decTickets:()V
        26: .line 127
            getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
            ifne 27
            aload 6 /* poll */
            aload 2 /* head */
            if_acmpeq 27
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
        end local 6 // org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket poll
        27: .line 122
      StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.util.IOUtils$IOConsumer org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket int top org.apache.lucene.index.DocumentsWriterFlushQueue
      StackMap stack:
            aload 5
            monitorexit
        28: goto 1
      StackMap locals:
      StackMap stack: java.lang.Throwable
        29: aload 5
            monitorexit
        30: athrow
        end local 3 // boolean canPublish
        end local 2 // org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket head
        31: .line 134
      StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.util.IOUtils$IOConsumer
      StackMap stack:
            return
        end local 1 // org.apache.lucene.util.IOUtils$IOConsumer consumer
        end local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0   32     0        this  Lorg/apache/lucene/index/DocumentsWriterFlushQueue;
            0   32     1    consumer  Lorg/apache/lucene/util/IOUtils$IOConsumer<Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;>;
            3    8     2        head  Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
           10   31     2        head  Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
            6    8     3  canPublish  Z
           10   31     3  canPublish  Z
           16   18     6        poll  Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
           25   27     6        poll  Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
      Exception table:
        from    to  target  type
           2     7       8  any
           8     9       8  any
          11    13      13  any
          15    19      20  any
          20    21      20  any
          24    28      29  any
          29    30      29  any
    Exceptions:
      throws java.io.IOException
    Signature: (Lorg/apache/lucene/util/IOUtils$IOConsumer<Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;>;)V
    MethodParameters:
          Name  Flags
      consumer  

  void forcePurge(org.apache.lucene.util.IOUtils$IOConsumer<org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket>);
    descriptor: (Lorg/apache/lucene/util/IOUtils$IOConsumer;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
        start local 1 // org.apache.lucene.util.IOUtils$IOConsumer consumer
         0: .line 137
            getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
            ifeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 138
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.purgeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
         2: .line 140
            aload 0 /* this */
            aload 1 /* consumer */
            invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.innerPurge:(Lorg/apache/lucene/util/IOUtils$IOConsumer;)V
         3: .line 141
            goto 7
      StackMap locals:
      StackMap stack: java.lang.Throwable
         4: astore 2
         5: .line 142
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.purgeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
         6: .line 143
            aload 2
            athrow
         7: .line 142
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.purgeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
         8: .line 144
            return
        end local 1 // org.apache.lucene.util.IOUtils$IOConsumer consumer
        end local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    9     0      this  Lorg/apache/lucene/index/DocumentsWriterFlushQueue;
            0    9     1  consumer  Lorg/apache/lucene/util/IOUtils$IOConsumer<Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;>;
      Exception table:
        from    to  target  type
           2     4       4  any
    Exceptions:
      throws java.io.IOException
    Signature: (Lorg/apache/lucene/util/IOUtils$IOConsumer<Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;>;)V
    MethodParameters:
          Name  Flags
      consumer  

  void tryPurge(org.apache.lucene.util.IOUtils$IOConsumer<org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket>);
    descriptor: (Lorg/apache/lucene/util/IOUtils$IOConsumer;)V
    flags: (0x0000) 
    Code:
      stack=2, locals=3, args_size=2
        start local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
        start local 1 // org.apache.lucene.util.IOUtils$IOConsumer consumer
         0: .line 147
            getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
            ifne 1
            aload 0 /* this */
            invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
            ifeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 148
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.purgeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.tryLock:()Z
            ifeq 8
         2: .line 150
            aload 0 /* this */
            aload 1 /* consumer */
            invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.innerPurge:(Lorg/apache/lucene/util/IOUtils$IOConsumer;)V
         3: .line 151
            goto 7
      StackMap locals:
      StackMap stack: java.lang.Throwable
         4: astore 2
         5: .line 152
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.purgeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
         6: .line 153
            aload 2
            athrow
         7: .line 152
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.purgeLock:Ljava/util/concurrent/locks/ReentrantLock;
            invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
         8: .line 155
      StackMap locals:
      StackMap stack:
            return
        end local 1 // org.apache.lucene.util.IOUtils$IOConsumer consumer
        end local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    9     0      this  Lorg/apache/lucene/index/DocumentsWriterFlushQueue;
            0    9     1  consumer  Lorg/apache/lucene/util/IOUtils$IOConsumer<Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;>;
      Exception table:
        from    to  target  type
           2     4       4  any
    Exceptions:
      throws java.io.IOException
    Signature: (Lorg/apache/lucene/util/IOUtils$IOConsumer<Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;>;)V
    MethodParameters:
          Name  Flags
      consumer  

  int getTicketCount();
    descriptor: ()I
    flags: (0x0000) 
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
         0: .line 158
            aload 0 /* this */
            getfield org.apache.lucene.index.DocumentsWriterFlushQueue.ticketCount:Ljava/util/concurrent/atomic/AtomicInteger;
            invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
            ireturn
        end local 0 // org.apache.lucene.index.DocumentsWriterFlushQueue this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    1     0  this  Lorg/apache/lucene/index/DocumentsWriterFlushQueue;
}
SourceFile: "DocumentsWriterFlushQueue.java"
NestMembers:
  org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket
InnerClasses:
  final FlushTicket = org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket of org.apache.lucene.index.DocumentsWriterFlushQueue
  final FlushedSegment = org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment of org.apache.lucene.index.DocumentsWriterPerThread
  public abstract IOConsumer = org.apache.lucene.util.IOUtils$IOConsumer of org.apache.lucene.util.IOUtils