public class ShardFieldData extends java.lang.Object implements IndexFieldDataCache.Listener
| Constructor and Description |
|---|
ShardFieldData() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCache(ShardId shardId,
java.lang.String fieldName,
org.apache.lucene.util.Accountable ramUsage)
Called after the fielddata is loaded during the cache phase
|
void |
onRemoval(ShardId shardId,
java.lang.String fieldName,
boolean wasEvicted,
long sizeInBytes)
Called after the fielddata is unloaded
|
FieldDataStats |
stats(java.lang.String... fields) |
public FieldDataStats stats(java.lang.String... fields)
public void onCache(ShardId shardId, java.lang.String fieldName, org.apache.lucene.util.Accountable ramUsage)
IndexFieldDataCache.ListeneronCache in interface IndexFieldDataCache.Listenerpublic void onRemoval(ShardId shardId, java.lang.String fieldName, boolean wasEvicted, long sizeInBytes)
IndexFieldDataCache.ListeneronRemoval in interface IndexFieldDataCache.Listener