final class org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket
super_class: java.lang.Object
{
private final org.apache.lucene.index.FrozenBufferedUpdates frozenUpdates;
descriptor: Lorg/apache/lucene/index/FrozenBufferedUpdates;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final boolean hasSegment;
descriptor: Z
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment segment;
descriptor: Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;
flags: (0x0002) ACC_PRIVATE
private boolean failed;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private boolean published;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
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$FlushTicket.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.lucene.index.FrozenBufferedUpdates, boolean);
descriptor: (Lorg/apache/lucene/index/FrozenBufferedUpdates;Z)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_0
putfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.failed:Z
2: aload 0
iconst_0
putfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.published:Z
3: aload 0
aload 1
putfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.frozenUpdates:Lorg/apache/lucene/index/FrozenBufferedUpdates;
4: aload 0
iload 2
putfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.hasSegment:Z
5: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
0 6 1 frozenUpdates Lorg/apache/lucene/index/FrozenBufferedUpdates;
0 6 2 hasSegment Z
MethodParameters:
Name Flags
frozenUpdates
hasSegment
boolean canPublish();
descriptor: ()Z
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.hasSegment:Z
ifeq 1
aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.segment:Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;
ifnonnull 1
aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.failed:Z
ifne 1
iconst_0
ireturn
StackMap locals:
StackMap stack:
1: iconst_1
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
synchronized void markPublished();
descriptor: ()V
flags: (0x0020) ACC_SYNCHRONIZED
Code:
stack=3, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.published:Z
ifeq 1
new java.lang.AssertionError
dup
ldc "ticket was already published - can not publish twice"
invokespecial java.lang.AssertionError.<init>:(Ljava/lang/Object;)V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.published:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
private void setSegment(org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment);
descriptor: (Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: getstatic org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.failed:Z
ifeq 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
aload 1
putfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.segment:Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
0 3 1 segment Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;
MethodParameters:
Name Flags
segment
private void setFailed();
descriptor: ()V
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=1, args_size=1
start local 0 0: getstatic org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.$assertionsDisabled:Z
ifne 1
aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.segment:Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;
ifnull 1
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
1: StackMap locals:
StackMap stack:
aload 0
iconst_1
putfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.failed:Z
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
org.apache.lucene.index.DocumentsWriterPerThread$FlushedSegment getFlushedSegment();
descriptor: ()Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.segment:Lorg/apache/lucene/index/DocumentsWriterPerThread$FlushedSegment;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
org.apache.lucene.index.FrozenBufferedUpdates getFrozenUpdates();
descriptor: ()Lorg/apache/lucene/index/FrozenBufferedUpdates;
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
getfield org.apache.lucene.index.DocumentsWriterFlushQueue$FlushTicket.frozenUpdates:Lorg/apache/lucene/index/FrozenBufferedUpdates;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/DocumentsWriterFlushQueue$FlushTicket;
}
SourceFile: "DocumentsWriterFlushQueue.java"
NestHost: org.apache.lucene.index.DocumentsWriterFlushQueue
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