public final class ShardRequestCache
extends java.lang.Object
Constructor and Description |
---|
ShardRequestCache() |
Modifier and Type | Method and Description |
---|---|
void |
onCached(org.apache.lucene.util.Accountable key,
org.apache.lucene.util.Accountable value) |
void |
onHit() |
void |
onMiss() |
void |
onRemoval(org.apache.lucene.util.Accountable key,
org.apache.lucene.util.Accountable value,
boolean evicted) |
RequestCacheStats |
stats() |
public RequestCacheStats stats()
public void onHit()
public void onMiss()
public void onCached(org.apache.lucene.util.Accountable key, org.apache.lucene.util.Accountable value)
public void onRemoval(org.apache.lucene.util.Accountable key, org.apache.lucene.util.Accountable value, boolean evicted)