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>
    • Method Summary

      Modifier and Type Method Description
      long applyAsLong​(IndicesFieldDataCache.Key key, org.apache.lucene.util.Accountable ramUsage)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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>