Interface RangeCache.Weighter<ValueT>

  • Type Parameters:
    ValueT -
    Enclosing class:
    RangeCache<Key extends java.lang.Comparable<Key>,​Value extends io.netty.util.ReferenceCounted>

    public static interface RangeCache.Weighter<ValueT>
    Interface of a object that is able to the extract the "weight" (size/cost/space) of the cached values.
    • Method Detail

      • getSize

        long getSize​(ValueT value)