public class ShardRequestCache extends AbstractIndexShardComponent implements com.google.common.cache.RemovalListener<IndicesRequestCache.Key,IndicesRequestCache.Value>
deprecationLogger, indexSettings, logger, shardId| Constructor and Description |
|---|
ShardRequestCache(ShardId shardId,
Settings indexSettings) |
| Modifier and Type | Method and Description |
|---|---|
void |
onCached(IndicesRequestCache.Key key,
IndicesRequestCache.Value value) |
void |
onHit() |
void |
onMiss() |
void |
onRemoval(com.google.common.cache.RemovalNotification<IndicesRequestCache.Key,IndicesRequestCache.Value> removalNotification) |
RequestCacheStats |
stats() |
indexSettings, nodeName, shardIdpublic RequestCacheStats stats()
public void onHit()
public void onMiss()
public void onCached(IndicesRequestCache.Key key, IndicesRequestCache.Value value)
public void onRemoval(com.google.common.cache.RemovalNotification<IndicesRequestCache.Key,IndicesRequestCache.Value> removalNotification)
onRemoval in interface com.google.common.cache.RemovalListener<IndicesRequestCache.Key,IndicesRequestCache.Value>Copyright © 2009–2017. All rights reserved.