Class ShardRequestCache
java.lang.Object
org.elasticsearch.index.cache.request.ShardRequestCache
Tracks the portion of the request cache in use for a particular shard.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
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) stats()
-
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)
-