Class LRUQueryCache.CacheAndCount

java.lang.Object
org.apache.lucene.search.LRUQueryCache.CacheAndCount
All Implemented Interfaces:
Accountable
Enclosing class:
LRUQueryCache

protected static class LRUQueryCache.CacheAndCount extends Object implements Accountable
Cache of doc ids with a count.
  • Field Details

    • EMPTY

      protected static final LRUQueryCache.CacheAndCount EMPTY
    • BASE_RAM_BYTES_USED

      private static final long BASE_RAM_BYTES_USED
    • cache

      private final DocIdSet cache
    • count

      private final int count
  • Constructor Details

    • CacheAndCount

      public CacheAndCount(DocIdSet cache, int count)
  • Method Details