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.Listener
onCache
in interface IndexFieldDataCache.Listener
public void onRemoval(ShardId shardId, MappedFieldType.Names fieldNames, FieldDataType fieldDataType, boolean wasEvicted, long sizeInBytes)
IndexFieldDataCache.Listener
onRemoval
in interface IndexFieldDataCache.Listener
Copyright © 2009–2016. All rights reserved.