abstract class org.apache.lucene.index.FlushPolicy
minor version: 0
major version: 59
flags: flags: (0x0420) ACC_SUPER, ACC_ABSTRACT
this_class: org.apache.lucene.index.FlushPolicy
super_class: java.lang.Object
{
protected org.apache.lucene.index.LiveIndexWriterConfig indexWriterConfig;
descriptor: Lorg/apache/lucene/index/LiveIndexWriterConfig;
flags: (0x0004) ACC_PROTECTED
protected org.apache.lucene.util.InfoStream infoStream;
descriptor: Lorg/apache/lucene/util/InfoStream;
flags: (0x0004) ACC_PROTECTED
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/FlushPolicy;
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.FlushPolicy.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/index/FlushPolicy;
public abstract void onDelete(org.apache.lucene.index.DocumentsWriterFlushControl, org.apache.lucene.index.DocumentsWriterPerThread);
descriptor: (Lorg/apache/lucene/index/DocumentsWriterFlushControl;Lorg/apache/lucene/index/DocumentsWriterPerThread;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
control
perThread
public void onUpdate(org.apache.lucene.index.DocumentsWriterFlushControl, org.apache.lucene.index.DocumentsWriterPerThread);
descriptor: (Lorg/apache/lucene/index/DocumentsWriterFlushControl;Lorg/apache/lucene/index/DocumentsWriterPerThread;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
aload 1
aload 2
invokevirtual org.apache.lucene.index.FlushPolicy.onInsert:(Lorg/apache/lucene/index/DocumentsWriterFlushControl;Lorg/apache/lucene/index/DocumentsWriterPerThread;)V
1: aload 0
aload 1
aload 2
invokevirtual org.apache.lucene.index.FlushPolicy.onDelete:(Lorg/apache/lucene/index/DocumentsWriterFlushControl;Lorg/apache/lucene/index/DocumentsWriterPerThread;)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/FlushPolicy;
0 3 1 control Lorg/apache/lucene/index/DocumentsWriterFlushControl;
0 3 2 perThread Lorg/apache/lucene/index/DocumentsWriterPerThread;
MethodParameters:
Name Flags
control
perThread
public abstract void onInsert(org.apache.lucene.index.DocumentsWriterFlushControl, org.apache.lucene.index.DocumentsWriterPerThread);
descriptor: (Lorg/apache/lucene/index/DocumentsWriterFlushControl;Lorg/apache/lucene/index/DocumentsWriterPerThread;)V
flags: (0x0401) ACC_PUBLIC, ACC_ABSTRACT
MethodParameters:
Name Flags
control
perThread
protected synchronized void init(org.apache.lucene.index.LiveIndexWriterConfig);
descriptor: (Lorg/apache/lucene/index/LiveIndexWriterConfig;)V
flags: (0x0024) ACC_PROTECTED, ACC_SYNCHRONIZED
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
putfield org.apache.lucene.index.FlushPolicy.indexWriterConfig:Lorg/apache/lucene/index/LiveIndexWriterConfig;
1: aload 0
aload 1
invokevirtual org.apache.lucene.index.LiveIndexWriterConfig.getInfoStream:()Lorg/apache/lucene/util/InfoStream;
putfield org.apache.lucene.index.FlushPolicy.infoStream:Lorg/apache/lucene/util/InfoStream;
2: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/FlushPolicy;
0 3 1 indexWriterConfig Lorg/apache/lucene/index/LiveIndexWriterConfig;
MethodParameters:
Name Flags
indexWriterConfig
protected org.apache.lucene.index.DocumentsWriterPerThread findLargestNonPendingWriter(org.apache.lucene.index.DocumentsWriterFlushControl, org.apache.lucene.index.DocumentsWriterPerThread);
descriptor: (Lorg/apache/lucene/index/DocumentsWriterFlushControl;Lorg/apache/lucene/index/DocumentsWriterPerThread;)Lorg/apache/lucene/index/DocumentsWriterPerThread;
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=4, args_size=3
start local 0 start local 1 start local 2 0: getstatic org.apache.lucene.index.FlushPolicy.$assertionsDisabled:Z
ifne 1
aload 2
invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.getNumDocsInRAM:()I
ifgt 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.DocumentsWriterFlushControl.findLargestNonPendingWriter:()Lorg/apache/lucene/index/DocumentsWriterPerThread;
astore 3
start local 3 2: getstatic org.apache.lucene.index.FlushPolicy.$assertionsDisabled:Z
ifne 3
aload 0
ldc "set largest ram consuming thread pending on lower watermark"
invokevirtual org.apache.lucene.index.FlushPolicy.assertMessage:(Ljava/lang/String;)Z
ifne 3
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
3: StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread
StackMap stack:
aload 3
areturn
end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/index/FlushPolicy;
0 4 1 control Lorg/apache/lucene/index/DocumentsWriterFlushControl;
0 4 2 perThread Lorg/apache/lucene/index/DocumentsWriterPerThread;
2 4 3 maxRamUsingWriter Lorg/apache/lucene/index/DocumentsWriterPerThread;
MethodParameters:
Name Flags
control
perThread
private boolean assertMessage(java.lang.String);
descriptor: (Ljava/lang/String;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.index.FlushPolicy.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "FP"
invokevirtual org.apache.lucene.util.InfoStream.isEnabled:(Ljava/lang/String;)Z
ifeq 2
1: aload 0
getfield org.apache.lucene.index.FlushPolicy.infoStream:Lorg/apache/lucene/util/InfoStream;
ldc "FP"
aload 1
invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
2: StackMap locals:
StackMap stack:
iconst_1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lorg/apache/lucene/index/FlushPolicy;
0 3 1 s Ljava/lang/String;
MethodParameters:
Name Flags
s
}
SourceFile: "FlushPolicy.java"