Class ShardRequestCache
- java.lang.Object
-
- org.elasticsearch.index.cache.request.ShardRequestCache
-
public final class ShardRequestCache extends 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 voidonCached(Accountable key, BytesReference value)voidonHit()voidonMiss()voidonRemoval(Accountable key, BytesReference value, boolean evicted)RequestCacheStatsstats()
-
-
-
Method Detail
-
stats
public RequestCacheStats stats()
-
onHit
public void onHit()
-
onMiss
public void onMiss()
-
onCached
public void onCached(Accountable key, BytesReference value)
-
onRemoval
public void onRemoval(Accountable key, BytesReference value, boolean evicted)
-
-