Class 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 Detail

      • FieldDataWeigher

        public FieldDataWeigher()
    • Method Detail

      • applyAsLong

        public long applyAsLong​(IndicesFieldDataCache.Key key,
                                org.apache.lucene.util.Accountable ramUsage)
        Specified by:
        applyAsLong in interface java.util.function.ToLongBiFunction<IndicesFieldDataCache.Key,​org.apache.lucene.util.Accountable>