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 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()
-
Constructor Details
-
ShardRequestCache
public ShardRequestCache()
-
-
Method Details