class org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight extends org.apache.lucene.search.ConstantScoreWeight
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight
super_class: org.apache.lucene.search.ConstantScoreWeight
{
private final org.apache.lucene.search.Weight in;
descriptor: Lorg/apache/lucene/search/Weight;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final org.apache.lucene.search.QueryCachingPolicy policy;
descriptor: Lorg/apache/lucene/search/QueryCachingPolicy;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
private final java.util.concurrent.atomic.AtomicBoolean used;
descriptor: Ljava/util/concurrent/atomic/AtomicBoolean;
flags: (0x0012) ACC_PRIVATE, ACC_FINAL
final org.apache.lucene.search.LRUQueryCache this$0;
descriptor: Lorg/apache/lucene/search/LRUQueryCache;
flags: (0x1010) ACC_FINAL, ACC_SYNTHETIC
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/search/LRUQueryCache;
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.LRUQueryCache$CachingWrapperWeight.$assertionsDisabled:Z
return
LocalVariableTable:
Start End Slot Name Signature
void <init>(org.apache.lucene.search.LRUQueryCache, org.apache.lucene.search.Weight, org.apache.lucene.search.QueryCachingPolicy);
descriptor: (Lorg/apache/lucene/search/LRUQueryCache;Lorg/apache/lucene/search/Weight;Lorg/apache/lucene/search/QueryCachingPolicy;)V
flags: (0x0000)
Code:
stack=4, locals=4, args_size=4
start local 0 start local 2 start local 3 0: aload 0
aload 1
putfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.this$0:Lorg/apache/lucene/search/LRUQueryCache;
1: aload 0
aload 2
invokevirtual org.apache.lucene.search.Weight.getQuery:()Lorg/apache/lucene/search/Query;
fconst_1
invokespecial org.apache.lucene.search.ConstantScoreWeight.<init>:(Lorg/apache/lucene/search/Query;F)V
2: aload 0
aload 2
putfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
3: aload 0
aload 3
putfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.policy:Lorg/apache/lucene/search/QueryCachingPolicy;
4: aload 0
new java.util.concurrent.atomic.AtomicBoolean
dup
iconst_0
invokespecial java.util.concurrent.atomic.AtomicBoolean.<init>:(Z)V
putfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.used:Ljava/util/concurrent/atomic/AtomicBoolean;
5: return
end local 3 end local 2 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 6 0 this Lorg/apache/lucene/search/LRUQueryCache$CachingWrapperWeight;
0 6 2 in Lorg/apache/lucene/search/Weight;
0 6 3 policy Lorg/apache/lucene/search/QueryCachingPolicy;
MethodParameters:
Name Flags
this$0 final
in
policy
public void extractTerms(java.util.Set<org.apache.lucene.index.Term>);
descriptor: (Ljava/util/Set;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.extractTerms:(Ljava/util/Set;)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lorg/apache/lucene/search/LRUQueryCache$CachingWrapperWeight;
0 2 1 terms Ljava/util/Set<Lorg/apache/lucene/index/Term;>;
Signature: (Ljava/util/Set<Lorg/apache/lucene/index/Term;>;)V
MethodParameters:
Name Flags
terms
public org.apache.lucene.search.Matches matches(org.apache.lucene.index.LeafReaderContext, int);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;I)Lorg/apache/lucene/search/Matches;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 start local 1 start local 2 0: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
iload 2
invokevirtual org.apache.lucene.search.Weight.matches:(Lorg/apache/lucene/index/LeafReaderContext;I)Lorg/apache/lucene/search/Matches;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/LRUQueryCache$CachingWrapperWeight;
0 1 1 context Lorg/apache/lucene/index/LeafReaderContext;
0 1 2 doc I
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
doc
private boolean cacheEntryHasReasonableWorstCaseSize(int);
descriptor: (I)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=6, args_size=2
start local 0 start local 1 0: iload 1
bipush 8
idiv
i2l
lstore 2
start local 2 1: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.this$0:Lorg/apache/lucene/search/LRUQueryCache;
getfield org.apache.lucene.search.LRUQueryCache.maxRamBytesUsed:J
lstore 4
start local 4 2: lload 2
ldc 5
lmul
lload 4
lcmp
ifge 3
iconst_1
ireturn
StackMap locals: long long
StackMap stack:
3: iconst_0
ireturn
end local 4 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/search/LRUQueryCache$CachingWrapperWeight;
0 4 1 maxDoc I
1 4 2 worstCaseRamUsage J
2 4 4 totalRamAvailable J
MethodParameters:
Name Flags
maxDoc
private org.apache.lucene.search.DocIdSet cache(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/DocIdSet;
flags: (0x0002) ACC_PRIVATE
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.bulkScorer:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/BulkScorer;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: getstatic org.apache.lucene.search.DocIdSet.EMPTY:Lorg/apache/lucene/search/DocIdSet;
areturn
3: StackMap locals: org.apache.lucene.search.BulkScorer
StackMap stack:
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.this$0:Lorg/apache/lucene/search/LRUQueryCache;
aload 2
aload 1
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
invokevirtual org.apache.lucene.index.LeafReader.maxDoc:()I
invokevirtual org.apache.lucene.search.LRUQueryCache.cacheImpl:(Lorg/apache/lucene/search/BulkScorer;I)Lorg/apache/lucene/search/DocIdSet;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/search/LRUQueryCache$CachingWrapperWeight;
0 4 1 context Lorg/apache/lucene/index/LeafReaderContext;
1 4 2 scorer Lorg/apache/lucene/search/BulkScorer;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
private boolean shouldCache(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Z
flags: (0x0002) ACC_PRIVATE
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokestatic org.apache.lucene.index.ReaderUtil.getTopLevelContext:(Lorg/apache/lucene/index/IndexReaderContext;)Lorg/apache/lucene/index/IndexReaderContext;
invokevirtual org.apache.lucene.index.IndexReaderContext.reader:()Lorg/apache/lucene/index/IndexReader;
invokevirtual org.apache.lucene.index.IndexReader.maxDoc:()I
invokevirtual org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cacheEntryHasReasonableWorstCaseSize:(I)Z
ifeq 3
1: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.this$0:Lorg/apache/lucene/search/LRUQueryCache;
getfield org.apache.lucene.search.LRUQueryCache.leavesToCache:Ljava/util/function/Predicate;
aload 1
invokeinterface java.util.function.Predicate.test:(Ljava/lang/Object;)Z
ifeq 3
2: iconst_1
ireturn
StackMap locals:
StackMap stack:
3: iconst_0
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/search/LRUQueryCache$CachingWrapperWeight;
0 4 1 context Lorg/apache/lucene/index/LeafReaderContext;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
public org.apache.lucene.search.ScorerSupplier scorerSupplier(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/ScorerSupplier;
flags: (0x0001) ACC_PUBLIC
Code:
stack=5, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.used:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 2
1: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.policy:Lorg/apache/lucene/search/QueryCachingPolicy;
aload 0
invokevirtual org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.getQuery:()Lorg/apache/lucene/search/Query;
invokeinterface org.apache.lucene.search.QueryCachingPolicy.onUse:(Lorg/apache/lucene/search/Query;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.isCacheable:(Lorg/apache/lucene/index/LeafReaderContext;)Z
ifne 4
3: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.scorerSupplier:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/ScorerSupplier;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.shouldCache:(Lorg/apache/lucene/index/LeafReaderContext;)Z
ifne 6
5: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.scorerSupplier:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/ScorerSupplier;
areturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
invokevirtual org.apache.lucene.index.LeafReader.getCoreCacheHelper:()Lorg/apache/lucene/index/IndexReader$CacheHelper;
astore 2
start local 2 7: aload 2
ifnonnull 9
8: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.scorerSupplier:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/ScorerSupplier;
areturn
9: StackMap locals: org.apache.lucene.index.IndexReader$CacheHelper
StackMap stack:
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.this$0:Lorg/apache/lucene/search/LRUQueryCache;
getfield org.apache.lucene.search.LRUQueryCache.lock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.tryLock:()Z
ifne 11
10: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.scorerSupplier:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/ScorerSupplier;
areturn
11: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.this$0:Lorg/apache/lucene/search/LRUQueryCache;
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
invokevirtual org.apache.lucene.search.Weight.getQuery:()Lorg/apache/lucene/search/Query;
aload 1
aload 2
invokevirtual org.apache.lucene.search.LRUQueryCache.get:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/index/LeafReaderContext;Lorg/apache/lucene/index/IndexReader$CacheHelper;)Lorg/apache/lucene/search/DocIdSet;
astore 3
start local 3 12: goto 16
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 4
14: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.this$0:Lorg/apache/lucene/search/LRUQueryCache;
getfield org.apache.lucene.search.LRUQueryCache.lock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
15: aload 4
athrow
start local 3 16: StackMap locals: org.apache.lucene.search.DocIdSet
StackMap stack:
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.this$0:Lorg/apache/lucene/search/LRUQueryCache;
getfield org.apache.lucene.search.LRUQueryCache.lock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
17: aload 3
ifnonnull 23
18: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.policy:Lorg/apache/lucene/search/QueryCachingPolicy;
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
invokevirtual org.apache.lucene.search.Weight.getQuery:()Lorg/apache/lucene/search/Query;
invokeinterface org.apache.lucene.search.QueryCachingPolicy.shouldCache:(Lorg/apache/lucene/search/Query;)Z
ifeq 22
19: aload 0
aload 1
invokevirtual org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/DocIdSet;
astore 3
20: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.this$0:Lorg/apache/lucene/search/LRUQueryCache;
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
invokevirtual org.apache.lucene.search.Weight.getQuery:()Lorg/apache/lucene/search/Query;
aload 1
aload 3
aload 2
invokevirtual org.apache.lucene.search.LRUQueryCache.putIfAbsent:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/index/LeafReaderContext;Lorg/apache/lucene/search/DocIdSet;Lorg/apache/lucene/index/IndexReader$CacheHelper;)V
21: goto 23
22: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.scorerSupplier:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/ScorerSupplier;
areturn
23: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.$assertionsDisabled:Z
ifne 24
aload 3
ifnonnull 24
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
24: StackMap locals:
StackMap stack:
aload 3
getstatic org.apache.lucene.search.DocIdSet.EMPTY:Lorg/apache/lucene/search/DocIdSet;
if_acmpne 26
25: aconst_null
areturn
26: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.lucene.search.DocIdSet.iterator:()Lorg/apache/lucene/search/DocIdSetIterator;
astore 4
start local 4 27: aload 4
ifnonnull 29
28: aconst_null
areturn
29: StackMap locals: org.apache.lucene.search.DocIdSetIterator
StackMap stack:
new org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight$1
dup
aload 0
aload 4
invokespecial org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight$1.<init>:(Lorg/apache/lucene/search/LRUQueryCache$CachingWrapperWeight;Lorg/apache/lucene/search/DocIdSetIterator;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/apache/lucene/search/LRUQueryCache$CachingWrapperWeight;
0 30 1 context Lorg/apache/lucene/index/LeafReaderContext;
7 30 2 cacheHelper Lorg/apache/lucene/index/IndexReader$CacheHelper;
12 13 3 docIdSet Lorg/apache/lucene/search/DocIdSet;
16 30 3 docIdSet Lorg/apache/lucene/search/DocIdSet;
27 30 4 disi Lorg/apache/lucene/search/DocIdSetIterator;
Exception table:
from to target type
11 13 13 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
public org.apache.lucene.search.Scorer scorer(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/Scorer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=2
start local 0 start local 1 0: aload 0
aload 1
invokevirtual org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.scorerSupplier:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/ScorerSupplier;
astore 2
start local 2 1: aload 2
ifnonnull 3
2: aconst_null
areturn
3: StackMap locals: org.apache.lucene.search.ScorerSupplier
StackMap stack:
aload 2
ldc 9223372036854775807
invokevirtual org.apache.lucene.search.ScorerSupplier.get:(J)Lorg/apache/lucene/search/Scorer;
areturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lorg/apache/lucene/search/LRUQueryCache$CachingWrapperWeight;
0 4 1 context Lorg/apache/lucene/index/LeafReaderContext;
1 4 2 scorerSupplier Lorg/apache/lucene/search/ScorerSupplier;
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
public boolean isCacheable(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Z
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.isCacheable:(Lorg/apache/lucene/index/LeafReaderContext;)Z
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lorg/apache/lucene/search/LRUQueryCache$CachingWrapperWeight;
0 1 1 ctx Lorg/apache/lucene/index/LeafReaderContext;
MethodParameters:
Name Flags
ctx
public org.apache.lucene.search.BulkScorer bulkScorer(org.apache.lucene.index.LeafReaderContext);
descriptor: (Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/BulkScorer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=8, locals=5, args_size=2
start local 0 start local 1 0: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.used:Ljava/util/concurrent/atomic/AtomicBoolean;
iconst_0
iconst_1
invokevirtual java.util.concurrent.atomic.AtomicBoolean.compareAndSet:(ZZ)Z
ifeq 2
1: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.policy:Lorg/apache/lucene/search/QueryCachingPolicy;
aload 0
invokevirtual org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.getQuery:()Lorg/apache/lucene/search/Query;
invokeinterface org.apache.lucene.search.QueryCachingPolicy.onUse:(Lorg/apache/lucene/search/Query;)V
2: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.isCacheable:(Lorg/apache/lucene/index/LeafReaderContext;)Z
ifne 4
3: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.bulkScorer:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/BulkScorer;
areturn
4: StackMap locals:
StackMap stack:
aload 0
aload 1
invokevirtual org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.shouldCache:(Lorg/apache/lucene/index/LeafReaderContext;)Z
ifne 6
5: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.bulkScorer:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/BulkScorer;
areturn
6: StackMap locals:
StackMap stack:
aload 1
invokevirtual org.apache.lucene.index.LeafReaderContext.reader:()Lorg/apache/lucene/index/LeafReader;
invokevirtual org.apache.lucene.index.LeafReader.getCoreCacheHelper:()Lorg/apache/lucene/index/IndexReader$CacheHelper;
astore 2
start local 2 7: aload 2
ifnonnull 9
8: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.bulkScorer:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/BulkScorer;
areturn
9: StackMap locals: org.apache.lucene.index.IndexReader$CacheHelper
StackMap stack:
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.this$0:Lorg/apache/lucene/search/LRUQueryCache;
getfield org.apache.lucene.search.LRUQueryCache.lock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.tryLock:()Z
ifne 11
10: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.bulkScorer:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/BulkScorer;
areturn
11: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.this$0:Lorg/apache/lucene/search/LRUQueryCache;
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
invokevirtual org.apache.lucene.search.Weight.getQuery:()Lorg/apache/lucene/search/Query;
aload 1
aload 2
invokevirtual org.apache.lucene.search.LRUQueryCache.get:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/index/LeafReaderContext;Lorg/apache/lucene/index/IndexReader$CacheHelper;)Lorg/apache/lucene/search/DocIdSet;
astore 3
start local 3 12: goto 16
end local 3 StackMap locals:
StackMap stack: java.lang.Throwable
13: astore 4
14: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.this$0:Lorg/apache/lucene/search/LRUQueryCache;
getfield org.apache.lucene.search.LRUQueryCache.lock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
15: aload 4
athrow
start local 3 16: StackMap locals: org.apache.lucene.search.DocIdSet
StackMap stack:
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.this$0:Lorg/apache/lucene/search/LRUQueryCache;
getfield org.apache.lucene.search.LRUQueryCache.lock:Ljava/util/concurrent/locks/ReentrantLock;
invokevirtual java.util.concurrent.locks.ReentrantLock.unlock:()V
17: aload 3
ifnonnull 23
18: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.policy:Lorg/apache/lucene/search/QueryCachingPolicy;
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
invokevirtual org.apache.lucene.search.Weight.getQuery:()Lorg/apache/lucene/search/Query;
invokeinterface org.apache.lucene.search.QueryCachingPolicy.shouldCache:(Lorg/apache/lucene/search/Query;)Z
ifeq 22
19: aload 0
aload 1
invokevirtual org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.cache:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/DocIdSet;
astore 3
20: aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.this$0:Lorg/apache/lucene/search/LRUQueryCache;
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
invokevirtual org.apache.lucene.search.Weight.getQuery:()Lorg/apache/lucene/search/Query;
aload 1
aload 3
aload 2
invokevirtual org.apache.lucene.search.LRUQueryCache.putIfAbsent:(Lorg/apache/lucene/search/Query;Lorg/apache/lucene/index/LeafReaderContext;Lorg/apache/lucene/search/DocIdSet;Lorg/apache/lucene/index/IndexReader$CacheHelper;)V
21: goto 23
22: StackMap locals:
StackMap stack:
aload 0
getfield org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.in:Lorg/apache/lucene/search/Weight;
aload 1
invokevirtual org.apache.lucene.search.Weight.bulkScorer:(Lorg/apache/lucene/index/LeafReaderContext;)Lorg/apache/lucene/search/BulkScorer;
areturn
23: StackMap locals:
StackMap stack:
getstatic org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight.$assertionsDisabled:Z
ifne 24
aload 3
ifnonnull 24
new java.lang.AssertionError
dup
invokespecial java.lang.AssertionError.<init>:()V
athrow
24: StackMap locals:
StackMap stack:
aload 3
getstatic org.apache.lucene.search.DocIdSet.EMPTY:Lorg/apache/lucene/search/DocIdSet;
if_acmpne 26
25: aconst_null
areturn
26: StackMap locals:
StackMap stack:
aload 3
invokevirtual org.apache.lucene.search.DocIdSet.iterator:()Lorg/apache/lucene/search/DocIdSetIterator;
astore 4
start local 4 27: aload 4
ifnonnull 29
28: aconst_null
areturn
29: StackMap locals: org.apache.lucene.search.DocIdSetIterator
StackMap stack:
new org.apache.lucene.search.Weight$DefaultBulkScorer
dup
new org.apache.lucene.search.ConstantScoreScorer
dup
aload 0
fconst_0
getstatic org.apache.lucene.search.ScoreMode.COMPLETE_NO_SCORES:Lorg/apache/lucene/search/ScoreMode;
aload 4
invokespecial org.apache.lucene.search.ConstantScoreScorer.<init>:(Lorg/apache/lucene/search/Weight;FLorg/apache/lucene/search/ScoreMode;Lorg/apache/lucene/search/DocIdSetIterator;)V
invokespecial org.apache.lucene.search.Weight$DefaultBulkScorer.<init>:(Lorg/apache/lucene/search/Scorer;)V
areturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 30 0 this Lorg/apache/lucene/search/LRUQueryCache$CachingWrapperWeight;
0 30 1 context Lorg/apache/lucene/index/LeafReaderContext;
7 30 2 cacheHelper Lorg/apache/lucene/index/IndexReader$CacheHelper;
12 13 3 docIdSet Lorg/apache/lucene/search/DocIdSet;
16 30 3 docIdSet Lorg/apache/lucene/search/DocIdSet;
27 30 4 disi Lorg/apache/lucene/search/DocIdSetIterator;
Exception table:
from to target type
11 13 13 any
Exceptions:
throws java.io.IOException
MethodParameters:
Name Flags
context
}
SourceFile: "LRUQueryCache.java"
NestHost: org.apache.lucene.search.LRUQueryCache
InnerClasses:
public abstract CacheHelper = org.apache.lucene.index.IndexReader$CacheHelper of org.apache.lucene.index.IndexReader
private CachingWrapperWeight = org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight of org.apache.lucene.search.LRUQueryCache
org.apache.lucene.search.LRUQueryCache$CachingWrapperWeight$1
protected DefaultBulkScorer = org.apache.lucene.search.Weight$DefaultBulkScorer of org.apache.lucene.search.Weight