Class ShardRequestCache

java.lang.Object
org.elasticsearch.index.cache.request.ShardRequestCache

public final class ShardRequestCache extends Object
Tracks the portion of the request cache in use for a particular shard.
  • Constructor Details

    • ShardRequestCache

      public ShardRequestCache()
  • Method Details

    • stats

      public RequestCacheStats stats()
    • 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)