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.Listener
onCache
in interface IndexFieldDataCache.Listener
public void onRemoval(ShardId shardId, java.lang.String fieldName, boolean wasEvicted, long sizeInBytes)
IndexFieldDataCache.Listener
onRemoval
in interface IndexFieldDataCache.Listener