Interface RangeCache.Weighter<ValueT>

Type Parameters:
ValueT -
Enclosing class:
RangeCache<Key extends 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 Summary

    Modifier and Type
    Method
    Description
    long
    getSize(ValueT value)
     
  • Method Details

    • getSize

      long getSize(ValueT value)