Class ShardRequestCache
org.elasticsearch.index.cache.request.ShardRequestCache
public final class ShardRequestCache
extends
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()
Methods inherited from class java.lang.
, , , , , , , , , ,
-
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)
-