Class ShardRequestCache
- java.lang.Object
-
- org.elasticsearch.index.cache.request.ShardRequestCache
-
public final class ShardRequestCache extends java.lang.Object
Tracks the portion of the request cache in use for a particular shard.
-
-
Constructor Summary
Constructors Constructor Description ShardRequestCache()
-
Method Summary
All Methods Instance Methods Concrete Methods 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()
-
-
-
Method Detail
-
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)
-
-