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: .line 47
            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 // org.apache.lucene.index.FlushPolicy this
         0: .line 47
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
            return
        end local 0 // org.apache.lucene.index.FlushPolicy this
      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 // org.apache.lucene.index.FlushPolicy this
        start local 1 // org.apache.lucene.index.DocumentsWriterFlushControl control
        start local 2 // org.apache.lucene.index.DocumentsWriterPerThread perThread
         0: .line 71
            aload 0 /* this */
            aload 1 /* control */
            aload 2 /* perThread */
            invokevirtual org.apache.lucene.index.FlushPolicy.onInsert:(Lorg/apache/lucene/index/DocumentsWriterFlushControl;Lorg/apache/lucene/index/DocumentsWriterPerThread;)V
         1: .line 72
            aload 0 /* this */
            aload 1 /* control */
            aload 2 /* perThread */
            invokevirtual org.apache.lucene.index.FlushPolicy.onDelete:(Lorg/apache/lucene/index/DocumentsWriterFlushControl;Lorg/apache/lucene/index/DocumentsWriterPerThread;)V
         2: .line 73
            return
        end local 2 // org.apache.lucene.index.DocumentsWriterPerThread perThread
        end local 1 // org.apache.lucene.index.DocumentsWriterFlushControl control
        end local 0 // org.apache.lucene.index.FlushPolicy this
      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 // org.apache.lucene.index.FlushPolicy this
        start local 1 // org.apache.lucene.index.LiveIndexWriterConfig indexWriterConfig
         0: .line 90
            aload 0 /* this */
            aload 1 /* indexWriterConfig */
            putfield org.apache.lucene.index.FlushPolicy.indexWriterConfig:Lorg/apache/lucene/index/LiveIndexWriterConfig;
         1: .line 91
            aload 0 /* this */
            aload 1 /* indexWriterConfig */
            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: .line 92
            return
        end local 1 // org.apache.lucene.index.LiveIndexWriterConfig indexWriterConfig
        end local 0 // org.apache.lucene.index.FlushPolicy this
      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 // org.apache.lucene.index.FlushPolicy this
        start local 1 // org.apache.lucene.index.DocumentsWriterFlushControl control
        start local 2 // org.apache.lucene.index.DocumentsWriterPerThread perThread
         0: .line 102
            getstatic org.apache.lucene.index.FlushPolicy.$assertionsDisabled:Z
            ifne 1
            aload 2 /* perThread */
            invokevirtual org.apache.lucene.index.DocumentsWriterPerThread.getNumDocsInRAM:()I
            ifgt 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 104
      StackMap locals:
      StackMap stack:
            aload 1 /* control */
            invokevirtual org.apache.lucene.index.DocumentsWriterFlushControl.findLargestNonPendingWriter:()Lorg/apache/lucene/index/DocumentsWriterPerThread;
            astore 3 /* maxRamUsingWriter */
        start local 3 // org.apache.lucene.index.DocumentsWriterPerThread maxRamUsingWriter
         2: .line 105
            getstatic org.apache.lucene.index.FlushPolicy.$assertionsDisabled:Z
            ifne 3
            aload 0 /* this */
            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: .line 106
      StackMap locals: org.apache.lucene.index.DocumentsWriterPerThread
      StackMap stack:
            aload 3 /* maxRamUsingWriter */
            areturn
        end local 3 // org.apache.lucene.index.DocumentsWriterPerThread maxRamUsingWriter
        end local 2 // org.apache.lucene.index.DocumentsWriterPerThread perThread
        end local 1 // org.apache.lucene.index.DocumentsWriterFlushControl control
        end local 0 // org.apache.lucene.index.FlushPolicy this
      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 // org.apache.lucene.index.FlushPolicy this
        start local 1 // java.lang.String s
         0: .line 110
            aload 0 /* this */
            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: .line 111
            aload 0 /* this */
            getfield org.apache.lucene.index.FlushPolicy.infoStream:Lorg/apache/lucene/util/InfoStream;
            ldc "FP"
            aload 1 /* s */
            invokevirtual org.apache.lucene.util.InfoStream.message:(Ljava/lang/String;Ljava/lang/String;)V
         2: .line 113
      StackMap locals:
      StackMap stack:
            iconst_1
            ireturn
        end local 1 // java.lang.String s
        end local 0 // org.apache.lucene.index.FlushPolicy this
      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"