public class ShardFieldData extends AbstractIndexShardComponent implements IndexFieldDataCache.Listener
componentSettings, indexSettings, logger, shardId| Constructor and Description |
|---|
ShardFieldData(ShardId shardId,
Settings indexSettings) |
| Modifier and Type | Method and Description |
|---|---|
void |
onLoad(FieldMapper.Names fieldNames,
FieldDataType fieldDataType,
org.apache.lucene.util.Accountable ramUsage) |
void |
onUnload(FieldMapper.Names fieldNames,
FieldDataType fieldDataType,
boolean wasEvicted,
long sizeInBytes) |
FieldDataStats |
stats(String... fields) |
indexSettings, nodeName, shardId@Inject public ShardFieldData(ShardId shardId, @IndexSettings Settings indexSettings)
public FieldDataStats stats(String... fields)
public void onLoad(FieldMapper.Names fieldNames, FieldDataType fieldDataType, org.apache.lucene.util.Accountable ramUsage)
onLoad in interface IndexFieldDataCache.Listenerpublic void onUnload(FieldMapper.Names fieldNames, FieldDataType fieldDataType, boolean wasEvicted, long sizeInBytes)
onUnload in interface IndexFieldDataCache.ListenerCopyright © 2009–2016. All rights reserved.