public class ShardFieldData extends Object implements IndexFieldDataCache.Listener
| Constructor and Description |
|---|
ShardFieldData() |
| Modifier and Type | Method and Description |
|---|---|
void |
onCache(ShardId shardId,
MappedFieldType.Names fieldNames,
FieldDataType fieldDataType,
org.apache.lucene.util.Accountable ramUsage)
Called after the fielddata is loaded during the cache phase
|
void |
onRemoval(ShardId shardId,
MappedFieldType.Names fieldNames,
FieldDataType fieldDataType,
boolean wasEvicted,
long sizeInBytes)
Called after the fielddata is unloaded
|
FieldDataStats |
stats(String... fields) |
public FieldDataStats stats(String... fields)
public void onCache(ShardId shardId, MappedFieldType.Names fieldNames, FieldDataType fieldDataType, org.apache.lucene.util.Accountable ramUsage)
IndexFieldDataCache.ListeneronCache in interface IndexFieldDataCache.Listenerpublic void onRemoval(ShardId shardId, MappedFieldType.Names fieldNames, FieldDataType fieldDataType, boolean wasEvicted, long sizeInBytes)
IndexFieldDataCache.ListeneronRemoval in interface IndexFieldDataCache.ListenerCopyright © 2009–2017. All rights reserved.