static class LRUQueryCache.MinSegmentSizePredicate extends java.lang.Object implements java.util.function.Predicate<LeafReaderContext>
| Modifier and Type | Field and Description |
|---|---|
private int |
minSize |
private float |
minSizeRatio |
| Constructor and Description |
|---|
MinSegmentSizePredicate(int minSize,
float minSizeRatio) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
test(LeafReaderContext context) |
public boolean test(LeafReaderContext context)
test in interface java.util.function.Predicate<LeafReaderContext>