public static interface IndexFieldDataCache.Listener
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
|
void onCache(ShardId shardId, MappedFieldType.Names fieldNames, FieldDataType fieldDataType, org.apache.lucene.util.Accountable ramUsage)
void onRemoval(ShardId shardId, MappedFieldType.Names fieldNames, FieldDataType fieldDataType, boolean wasEvicted, long sizeInBytes)
Copyright © 2009–2017. All rights reserved.