java.util.function.ToLongBiFunction<IndicesFieldDataCache.Key,org.apache.lucene.util.Accountable>
public static class IndicesFieldDataCache.FieldDataWeigher extends java.lang.Object implements java.util.function.ToLongBiFunction<IndicesFieldDataCache.Key,org.apache.lucene.util.Accountable>
Constructor | Description |
---|---|
FieldDataWeigher() |
Modifier and Type | Method | Description |
---|---|---|
long |
applyAsLong(IndicesFieldDataCache.Key key,
org.apache.lucene.util.Accountable ramUsage) |
public long applyAsLong(IndicesFieldDataCache.Key key, org.apache.lucene.util.Accountable ramUsage)
applyAsLong
in interface java.util.function.ToLongBiFunction<IndicesFieldDataCache.Key,org.apache.lucene.util.Accountable>