public class org.apache.lucene.search.UsageTrackingQueryCachingPolicy implements org.apache.lucene.search.QueryCachingPolicy
  minor version: 0
  major version: 59
  flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
  this_class: org.apache.lucene.search.UsageTrackingQueryCachingPolicy
  super_class: java.lang.Object
{
  private static final int SENTINEL;
    descriptor: I
    flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
    ConstantValue: -2147483648

  private final org.apache.lucene.util.FrequencyTrackingRingBuffer recentlyUsedFilters;
    descriptor: Lorg/apache/lucene/util/FrequencyTrackingRingBuffer;
    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 30
            ldc Lorg/apache/lucene/search/UsageTrackingQueryCachingPolicy;
            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.search.UsageTrackingQueryCachingPolicy.$assertionsDisabled:Z
         3: .line 33
            return
      LocalVariableTable:
        Start  End  Slot  Name  Signature

  private static boolean isPointQuery(org.apache.lucene.search.Query);
    descriptor: (Lorg/apache/lucene/search/Query;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=2, locals=3, args_size=1
        start local 0 // org.apache.lucene.search.Query query
         0: .line 38
            aload 0 /* query */
            invokevirtual java.lang.Object.getClass:()Ljava/lang/Class;
            astore 1 /* clazz */
        start local 1 // java.lang.Class clazz
         1: goto 6
         2: .line 39
      StackMap locals: java.lang.Class
      StackMap stack:
            aload 1 /* clazz */
            invokevirtual java.lang.Class.getSimpleName:()Ljava/lang/String;
            astore 2 /* simpleName */
        start local 2 // java.lang.String simpleName
         3: .line 40
            aload 2 /* simpleName */
            ldc "Point"
            invokevirtual java.lang.String.startsWith:(Ljava/lang/String;)Z
            ifeq 5
            aload 2 /* simpleName */
            ldc "Query"
            invokevirtual java.lang.String.endsWith:(Ljava/lang/String;)Z
            ifeq 5
         4: .line 41
            iconst_1
            ireturn
        end local 2 // java.lang.String simpleName
         5: .line 38
      StackMap locals:
      StackMap stack:
            aload 1 /* clazz */
            invokevirtual java.lang.Class.getSuperclass:()Ljava/lang/Class;
            astore 1 /* clazz */
      StackMap locals:
      StackMap stack:
         6: aload 1 /* clazz */
            ldc Lorg/apache/lucene/search/Query;
            if_acmpne 2
        end local 1 // java.lang.Class clazz
         7: .line 44
            iconst_0
            ireturn
        end local 0 // org.apache.lucene.search.Query query
      LocalVariableTable:
        Start  End  Slot        Name  Signature
            0    8     0       query  Lorg/apache/lucene/search/Query;
            1    7     1       clazz  Ljava/lang/Class<*>;
            3    5     2  simpleName  Ljava/lang/String;
    MethodParameters:
       Name  Flags
      query  

  static boolean isCostly(org.apache.lucene.search.Query);
    descriptor: (Lorg/apache/lucene/search/Query;)Z
    flags: (0x0008) ACC_STATIC
    Code:
      stack=1, locals=1, args_size=1
        start local 0 // org.apache.lucene.search.Query query
         0: .line 51
            aload 0 /* query */
            instanceof org.apache.lucene.search.MultiTermQuery
            ifne 5
         1: .line 52
            aload 0 /* query */
            instanceof org.apache.lucene.search.MultiTermQueryConstantScoreWrapper
            ifne 5
         2: .line 53
            aload 0 /* query */
            instanceof org.apache.lucene.search.TermInSetQuery
            ifne 5
         3: .line 54
            aload 0 /* query */
            invokestatic org.apache.lucene.search.UsageTrackingQueryCachingPolicy.isPointQuery:(Lorg/apache/lucene/search/Query;)Z
            ifne 5
         4: .line 51
            iconst_0
            ireturn
      StackMap locals:
      StackMap stack:
         5: iconst_1
            ireturn
        end local 0 // org.apache.lucene.search.Query query
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0    6     0  query  Lorg/apache/lucene/search/Query;
    MethodParameters:
       Name  Flags
      query  

  private static boolean shouldNeverCache(org.apache.lucene.search.Query);
    descriptor: (Lorg/apache/lucene/search/Query;)Z
    flags: (0x000a) ACC_PRIVATE, ACC_STATIC
    Code:
      stack=1, locals=2, args_size=1
        start local 0 // org.apache.lucene.search.Query query
         0: .line 58
            aload 0 /* query */
            instanceof org.apache.lucene.search.TermQuery
            ifeq 2
         1: .line 60
            iconst_1
            ireturn
         2: .line 63
      StackMap locals:
      StackMap stack:
            aload 0 /* query */
            instanceof org.apache.lucene.search.MatchAllDocsQuery
            ifeq 4
         3: .line 65
            iconst_1
            ireturn
         4: .line 70
      StackMap locals:
      StackMap stack:
            aload 0 /* query */
            instanceof org.apache.lucene.search.MatchNoDocsQuery
            ifeq 6
         5: .line 71
            iconst_1
            ireturn
         6: .line 74
      StackMap locals:
      StackMap stack:
            aload 0 /* query */
            instanceof org.apache.lucene.search.BooleanQuery
            ifeq 10
         7: .line 75
            aload 0 /* query */
            checkcast org.apache.lucene.search.BooleanQuery
            astore 1 /* bq */
        start local 1 // org.apache.lucene.search.BooleanQuery bq
         8: .line 76
            aload 1 /* bq */
            invokevirtual org.apache.lucene.search.BooleanQuery.clauses:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 10
         9: .line 77
            iconst_1
            ireturn
        end local 1 // org.apache.lucene.search.BooleanQuery bq
        10: .line 81
      StackMap locals:
      StackMap stack:
            aload 0 /* query */
            instanceof org.apache.lucene.search.DisjunctionMaxQuery
            ifeq 14
        11: .line 82
            aload 0 /* query */
            checkcast org.apache.lucene.search.DisjunctionMaxQuery
            astore 1 /* dmq */
        start local 1 // org.apache.lucene.search.DisjunctionMaxQuery dmq
        12: .line 83
            aload 1 /* dmq */
            invokevirtual org.apache.lucene.search.DisjunctionMaxQuery.getDisjuncts:()Ljava/util/List;
            invokeinterface java.util.List.isEmpty:()Z
            ifeq 14
        13: .line 84
            iconst_1
            ireturn
        end local 1 // org.apache.lucene.search.DisjunctionMaxQuery dmq
        14: .line 88
      StackMap locals:
      StackMap stack:
            iconst_0
            ireturn
        end local 0 // org.apache.lucene.search.Query query
      LocalVariableTable:
        Start  End  Slot   Name  Signature
            0   15     0  query  Lorg/apache/lucene/search/Query;
            8   10     1     bq  Lorg/apache/lucene/search/BooleanQuery;
           12   14     1    dmq  Lorg/apache/lucene/search/DisjunctionMaxQuery;
    MethodParameters:
       Name  Flags
      query  

  public void <init>(int);
    descriptor: (I)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=5, locals=2, args_size=2
        start local 0 // org.apache.lucene.search.UsageTrackingQueryCachingPolicy this
        start local 1 // int historySize
         0: .line 103
            aload 0 /* this */
            invokespecial java.lang.Object.<init>:()V
         1: .line 104
            aload 0 /* this */
            new org.apache.lucene.util.FrequencyTrackingRingBuffer
            dup
            iload 1 /* historySize */
            ldc -2147483648
            invokespecial org.apache.lucene.util.FrequencyTrackingRingBuffer.<init>:(II)V
            putfield org.apache.lucene.search.UsageTrackingQueryCachingPolicy.recentlyUsedFilters:Lorg/apache/lucene/util/FrequencyTrackingRingBuffer;
         2: .line 105
            return
        end local 1 // int historySize
        end local 0 // org.apache.lucene.search.UsageTrackingQueryCachingPolicy this
      LocalVariableTable:
        Start  End  Slot         Name  Signature
            0    3     0         this  Lorg/apache/lucene/search/UsageTrackingQueryCachingPolicy;
            0    3     1  historySize  I
    MethodParameters:
             Name  Flags
      historySize  

  public void <init>();
    descriptor: ()V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=1, args_size=1
        start local 0 // org.apache.lucene.search.UsageTrackingQueryCachingPolicy this
         0: .line 110
            aload 0 /* this */
            sipush 256
            invokespecial org.apache.lucene.search.UsageTrackingQueryCachingPolicy.<init>:(I)V
         1: .line 111
            return
        end local 0 // org.apache.lucene.search.UsageTrackingQueryCachingPolicy this
      LocalVariableTable:
        Start  End  Slot  Name  Signature
            0    2     0  this  Lorg/apache/lucene/search/UsageTrackingQueryCachingPolicy;

  protected int minFrequencyToCache(org.apache.lucene.search.Query);
    descriptor: (Lorg/apache/lucene/search/Query;)I
    flags: (0x0004) ACC_PROTECTED
    Code:
      stack=1, locals=3, args_size=2
        start local 0 // org.apache.lucene.search.UsageTrackingQueryCachingPolicy this
        start local 1 // org.apache.lucene.search.Query query
         0: .line 121
            aload 1 /* query */
            invokestatic org.apache.lucene.search.UsageTrackingQueryCachingPolicy.isCostly:(Lorg/apache/lucene/search/Query;)Z
            ifeq 2
         1: .line 122
            iconst_2
            ireturn
         2: .line 125
      StackMap locals:
      StackMap stack:
            iconst_5
            istore 2 /* minFrequency */
        start local 2 // int minFrequency
         3: .line 126
            aload 1 /* query */
            instanceof org.apache.lucene.search.BooleanQuery
            ifne 5
         4: .line 127
            aload 1 /* query */
            instanceof org.apache.lucene.search.DisjunctionMaxQuery
            ifeq 6
         5: .line 133
      StackMap locals: int
      StackMap stack:
            iinc 2 /* minFrequency */ -1
         6: .line 135
      StackMap locals:
      StackMap stack:
            iload 2 /* minFrequency */
            ireturn
        end local 2 // int minFrequency
        end local 1 // org.apache.lucene.search.Query query
        end local 0 // org.apache.lucene.search.UsageTrackingQueryCachingPolicy this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    7     0          this  Lorg/apache/lucene/search/UsageTrackingQueryCachingPolicy;
            0    7     1         query  Lorg/apache/lucene/search/Query;
            3    7     2  minFrequency  I
    MethodParameters:
       Name  Flags
      query  

  public void onUse(org.apache.lucene.search.Query);
    descriptor: (Lorg/apache/lucene/search/Query;)V
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // org.apache.lucene.search.UsageTrackingQueryCachingPolicy this
        start local 1 // org.apache.lucene.search.Query query
         0: .line 141
            getstatic org.apache.lucene.search.UsageTrackingQueryCachingPolicy.$assertionsDisabled:Z
            ifne 1
            aload 1 /* query */
            instanceof org.apache.lucene.search.BoostQuery
            ifeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 142
      StackMap locals:
      StackMap stack:
            getstatic org.apache.lucene.search.UsageTrackingQueryCachingPolicy.$assertionsDisabled:Z
            ifne 2
            aload 1 /* query */
            instanceof org.apache.lucene.search.ConstantScoreQuery
            ifeq 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 144
      StackMap locals:
      StackMap stack:
            aload 1 /* query */
            invokestatic org.apache.lucene.search.UsageTrackingQueryCachingPolicy.shouldNeverCache:(Lorg/apache/lucene/search/Query;)Z
            ifeq 4
         3: .line 145
            return
         4: .line 150
      StackMap locals:
      StackMap stack:
            aload 1 /* query */
            invokevirtual org.apache.lucene.search.Query.hashCode:()I
            istore 2 /* hashCode */
        start local 2 // int hashCode
         5: .line 155
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         6: .line 156
            aload 0 /* this */
            getfield org.apache.lucene.search.UsageTrackingQueryCachingPolicy.recentlyUsedFilters:Lorg/apache/lucene/util/FrequencyTrackingRingBuffer;
            iload 2 /* hashCode */
            invokevirtual org.apache.lucene.util.FrequencyTrackingRingBuffer.add:(I)V
         7: .line 155
            aload 3
            monitorexit
         8: goto 11
      StackMap locals: org.apache.lucene.search.UsageTrackingQueryCachingPolicy org.apache.lucene.search.Query int org.apache.lucene.search.UsageTrackingQueryCachingPolicy
      StackMap stack: java.lang.Throwable
         9: aload 3
            monitorexit
        10: athrow
        11: .line 158
      StackMap locals:
      StackMap stack:
            return
        end local 2 // int hashCode
        end local 1 // org.apache.lucene.search.Query query
        end local 0 // org.apache.lucene.search.UsageTrackingQueryCachingPolicy this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0   12     0      this  Lorg/apache/lucene/search/UsageTrackingQueryCachingPolicy;
            0   12     1     query  Lorg/apache/lucene/search/Query;
            5   12     2  hashCode  I
      Exception table:
        from    to  target  type
           6     8       9  any
           9    10       9  any
    MethodParameters:
       Name  Flags
      query  

  int frequency(org.apache.lucene.search.Query);
    descriptor: (Lorg/apache/lucene/search/Query;)I
    flags: (0x0000) 
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // org.apache.lucene.search.UsageTrackingQueryCachingPolicy this
        start local 1 // org.apache.lucene.search.Query query
         0: .line 161
            getstatic org.apache.lucene.search.UsageTrackingQueryCachingPolicy.$assertionsDisabled:Z
            ifne 1
            aload 1 /* query */
            instanceof org.apache.lucene.search.BoostQuery
            ifeq 1
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         1: .line 162
      StackMap locals:
      StackMap stack:
            getstatic org.apache.lucene.search.UsageTrackingQueryCachingPolicy.$assertionsDisabled:Z
            ifne 2
            aload 1 /* query */
            instanceof org.apache.lucene.search.ConstantScoreQuery
            ifeq 2
            new java.lang.AssertionError
            dup
            invokespecial java.lang.AssertionError.<init>:()V
            athrow
         2: .line 166
      StackMap locals:
      StackMap stack:
            aload 1 /* query */
            invokevirtual org.apache.lucene.search.Query.hashCode:()I
            istore 2 /* hashCode */
        start local 2 // int hashCode
         3: .line 168
            aload 0 /* this */
            dup
            astore 3
            monitorenter
         4: .line 169
            aload 0 /* this */
            getfield org.apache.lucene.search.UsageTrackingQueryCachingPolicy.recentlyUsedFilters:Lorg/apache/lucene/util/FrequencyTrackingRingBuffer;
            iload 2 /* hashCode */
            invokevirtual org.apache.lucene.util.FrequencyTrackingRingBuffer.frequency:(I)I
            aload 3
            monitorexit
         5: ireturn
         6: .line 168
      StackMap locals: org.apache.lucene.search.UsageTrackingQueryCachingPolicy org.apache.lucene.search.Query int org.apache.lucene.search.UsageTrackingQueryCachingPolicy
      StackMap stack: java.lang.Throwable
            aload 3
            monitorexit
         7: athrow
        end local 2 // int hashCode
        end local 1 // org.apache.lucene.search.Query query
        end local 0 // org.apache.lucene.search.UsageTrackingQueryCachingPolicy this
      LocalVariableTable:
        Start  End  Slot      Name  Signature
            0    8     0      this  Lorg/apache/lucene/search/UsageTrackingQueryCachingPolicy;
            0    8     1     query  Lorg/apache/lucene/search/Query;
            3    8     2  hashCode  I
      Exception table:
        from    to  target  type
           4     5       6  any
           6     7       6  any
    MethodParameters:
       Name  Flags
      query  

  public boolean shouldCache(org.apache.lucene.search.Query);
    descriptor: (Lorg/apache/lucene/search/Query;)Z
    flags: (0x0001) ACC_PUBLIC
    Code:
      stack=2, locals=4, args_size=2
        start local 0 // org.apache.lucene.search.UsageTrackingQueryCachingPolicy this
        start local 1 // org.apache.lucene.search.Query query
         0: .line 175
            aload 1 /* query */
            invokestatic org.apache.lucene.search.UsageTrackingQueryCachingPolicy.shouldNeverCache:(Lorg/apache/lucene/search/Query;)Z
            ifeq 2
         1: .line 176
            iconst_0
            ireturn
         2: .line 178
      StackMap locals:
      StackMap stack:
            aload 0 /* this */
            aload 1 /* query */
            invokevirtual org.apache.lucene.search.UsageTrackingQueryCachingPolicy.frequency:(Lorg/apache/lucene/search/Query;)I
            istore 2 /* frequency */
        start local 2 // int frequency
         3: .line 179
            aload 0 /* this */
            aload 1 /* query */
            invokevirtual org.apache.lucene.search.UsageTrackingQueryCachingPolicy.minFrequencyToCache:(Lorg/apache/lucene/search/Query;)I
            istore 3 /* minFrequency */
        start local 3 // int minFrequency
         4: .line 180
            iload 2 /* frequency */
            iload 3 /* minFrequency */
            if_icmplt 5
            iconst_1
            ireturn
      StackMap locals: int int
      StackMap stack:
         5: iconst_0
            ireturn
        end local 3 // int minFrequency
        end local 2 // int frequency
        end local 1 // org.apache.lucene.search.Query query
        end local 0 // org.apache.lucene.search.UsageTrackingQueryCachingPolicy this
      LocalVariableTable:
        Start  End  Slot          Name  Signature
            0    6     0          this  Lorg/apache/lucene/search/UsageTrackingQueryCachingPolicy;
            0    6     1         query  Lorg/apache/lucene/search/Query;
            3    6     2     frequency  I
            4    6     3  minFrequency  I
    Exceptions:
      throws java.io.IOException
    MethodParameters:
       Name  Flags
      query  
}
SourceFile: "UsageTrackingQueryCachingPolicy.java"