Class LRUQueryCache.LeafCache

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

private class LRUQueryCache.LeafCache extends Object implements Accountable
  • Field Details

  • Constructor Details

    • LeafCache

      LeafCache(Object key)
  • Method Details

    • onDocIdSetCache

      private void onDocIdSetCache(long ramBytesUsed)
    • onDocIdSetEviction

      private void onDocIdSetEviction(long ramBytesUsed)
    • get

    • putIfAbsent

      void putIfAbsent(Query query, LRUQueryCache.CacheAndCount cached)
    • remove

      void remove(Query query)
    • ramBytesUsed

      public long ramBytesUsed()
      Description copied from interface: Accountable
      Return the memory usage of this object in bytes. Negative values are illegal.
      Specified by:
      ramBytesUsed in interface Accountable