Class ShardRequestCache

  • public final class ShardRequestCache
    extends java.lang.Object
    Tracks the portion of the request cache in use for a particular shard.
    • Method Summary

      Modifier and Type Method Description
      void onCached​(org.apache.lucene.util.Accountable key, BytesReference value)  
      void onHit()  
      void onMiss()  
      void onRemoval​(org.apache.lucene.util.Accountable key, BytesReference value, boolean evicted)  
      RequestCacheStats stats()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ShardRequestCache

        public ShardRequestCache()
    • Method Detail

      • onHit

        public void onHit()
      • onMiss

        public void onMiss()
      • onCached

        public void onCached​(org.apache.lucene.util.Accountable key,
                             BytesReference value)
      • onRemoval

        public void onRemoval​(org.apache.lucene.util.Accountable key,
                              BytesReference value,
                              boolean evicted)