Class IndicesFieldDataCache.FieldDataWeigher
java.lang.Object
org.elasticsearch.indices.fielddata.cache.IndicesFieldDataCache.FieldDataWeigher
- All Implemented Interfaces:
ToLongBiFunction<IndicesFieldDataCache.Key,org.apache.lucene.util.Accountable>
- Enclosing class:
- IndicesFieldDataCache
public static class IndicesFieldDataCache.FieldDataWeigher
extends Object
implements ToLongBiFunction<IndicesFieldDataCache.Key,org.apache.lucene.util.Accountable>
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionlong
applyAsLong(IndicesFieldDataCache.Key key, org.apache.lucene.util.Accountable ramUsage)
-
Constructor Details
-
FieldDataWeigher
public FieldDataWeigher()
-
-
Method Details
-
applyAsLong
- Specified by:
applyAsLong
in interfaceToLongBiFunction<IndicesFieldDataCache.Key,org.apache.lucene.util.Accountable>
-