Class LRUQueryCache.LeafCache

    • Field Detail

      • key

        private final java.lang.Object key
      • ramBytesUsed

        private volatile long ramBytesUsed
    • Constructor Detail

      • LeafCache

        LeafCache​(java.lang.Object key)
    • Method Detail

      • onDocIdSetCache

        private void onDocIdSetCache​(long ramBytesUsed)
      • onDocIdSetEviction

        private void onDocIdSetEviction​(long ramBytesUsed)
      • 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