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
Modifier and Type Method Description voidonCached(org.apache.lucene.util.Accountable key, BytesReference value)voidonHit()voidonMiss()voidonRemoval(org.apache.lucene.util.Accountable key, BytesReference value, boolean evicted)RequestCacheStatsstats()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ShardRequestCache
public ShardRequestCache()
-
-
Method Details
-
stats
-
onHit
public void onHit() -
onMiss
public void onMiss() -
onCached
-
onRemoval
public void onRemoval(org.apache.lucene.util.Accountable key, BytesReference value, boolean evicted)
-