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