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: 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 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new java.util.LinkedList
dup
invokespecial java.util.LinkedList.<init>:()V
putfield org.apache.lucene.index.DocumentsWriterFlushQueue.queue:Ljava/util/Queue;
2: aload 0
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: aload 0
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: return
end local 0 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 start local 1 0: aload 0
invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.incTickets:()V
1: iconst_0
istore 2
start local 2 2: aload 1
invokevirtual org.apache.lucene.index.DocumentsWriterDeleteQueue.maybeFreezeGlobalBuffer:()Lorg/apache/lucene/index/FrozenBufferedUpdates;
astore 3
start local 3 3: aload 3
ifnull 11
4: aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue.queue:Ljava/util/Queue;
new org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket
dup
aload 3
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: iconst_1
istore 2
end local 3 6: goto 11
StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.index.DocumentsWriterDeleteQueue int
StackMap stack: java.lang.Throwable
7: astore 4
8: iload 2
ifne 10
9: aload 0
invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.decTickets:()V
10: StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.index.DocumentsWriterDeleteQueue int top java.lang.Throwable
StackMap stack:
aload 4
athrow
11: StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.index.DocumentsWriterDeleteQueue int
StackMap stack:
iload 2
ifne 13
12: aload 0
invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.decTickets:()V
13: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 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 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue.ticketCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.incrementAndGet:()I
istore 1
start local 1 1: getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
ifne 2
iload 1
ifgt 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 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 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue.ticketCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.decrementAndGet:()I
istore 1
start local 1 1: getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
ifne 2
iload 1
ifge 2
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
2: StackMap locals: int
StackMap stack:
return
end local 1 end local 0 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 start local 1 0: aload 0
invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.incTickets:()V
1: iconst_0
istore 2
start local 2 2: new org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket
dup
aload 1
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
start local 3 3: aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue.queue:Ljava/util/Queue;
aload 3
invokeinterface java.util.Queue.add:(Ljava/lang/Object;)Z
pop
4: iconst_1
istore 2
5: aload 3
astore 5
6: iload 2
ifne 8
7: aload 0
invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.decTickets:()V
8: 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 9: StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.index.DocumentsWriterPerThread int
StackMap stack: java.lang.Throwable
astore 4
10: iload 2
ifne 12
11: aload 0
invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.decTickets:()V
12: 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 end local 1 end local 0 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 start local 1 start local 2 0: getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
ifne 1
aload 1
getfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.hasSegment:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
aload 2
invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.setSegment:(Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;)V
2: return
end local 2 end local 1 end local 0 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 start local 1 0: getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
ifne 1
aload 1
getfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.hasSegment:Z
ifne 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.setFailed:()V
2: return
end local 1 end local 0 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 0: getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
ifne 1
aload 0
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
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: StackMap locals:
StackMap stack:
aload 0
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 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 start local 1 0: getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
ifne 1
aload 0
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: StackMap locals:
StackMap stack:
aload 0
dup
astore 4
monitorenter
2: aload 0
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
start local 2 3: aload 2
ifnull 4
aload 2
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
start local 3 6: aload 4
monitorexit
7: goto 10
end local 3 end local 2 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 start local 3 10: StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.util.IOUtils$IOConsumer org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket int
StackMap stack:
iload 3
ifeq 31
11: aload 1
aload 2
invokeinterface org.apache.lucene.util.IOUtils$IOConsumer.accept:(Ljava/lang/Object;)V
12: goto 23
StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 4
14: aload 0
dup
astore 5
monitorenter
15: aload 0
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
start local 6 16: aload 0
invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.decTickets:()V
17: getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
ifne 18
aload 6
aload 2
if_acmpeq 18
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 6 18: 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: StackMap locals:
StackMap stack:
aload 4
athrow
23: StackMap locals:
StackMap stack:
aload 0
dup
astore 5
monitorenter
24: aload 0
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
start local 6 25: aload 0
invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.decTickets:()V
26: getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
ifne 27
aload 6
aload 2
if_acmpeq 27
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
end local 6 27: 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 end local 2 31: StackMap locals: org.apache.lucene.index.DocumentsWriterFlushQueue org.apache.lucene.util.IOUtils$IOConsumer
StackMap stack:
return
end local 1 end local 0 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 start local 1 0: getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
ifne 1
aload 0
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue.purgeLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.lock:()V
2: aload 0
aload 1
invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.innerPurge:(Lorg/apache/lucene/util/IOUtils$IOConsumer;)V
3: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
4: astore 2
5: aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue.purgeLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
6: aload 2
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue.purgeLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
8: return
end local 1 end local 0 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 start local 1 0: getstatic org.apache.lucene.index.DocumentsWriterFlushQueue.$assertionsDisabled:Z
ifne 1
aload 0
invokestatic java.lang.Thread.holdsLock:(Ljava/lang/Object;)Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue.purgeLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.tryLock:()Z
ifeq 8
2: aload 0
aload 1
invokevirtual org.apache.lucene.index.DocumentsWriterFlushQueue.innerPurge:(Lorg/apache/lucene/util/IOUtils$IOConsumer;)V
3: goto 7
StackMap locals:
StackMap stack: java.lang.Throwable
4: astore 2
5: aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue.purgeLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
6: aload 2
athrow
7: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue.purgeLock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
8: StackMap locals:
StackMap stack:
return
end local 1 end local 0 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 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue.ticketCount:Ljava/util/concurrent/atomic/AtomicInteger;
invokevirtual java.util.concurrent.atomic.AtomicInteger.get:()I
ireturn
end local 0 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