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 Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetSize(ValueT value)
-
-
-
Method Detail
-
getSize
long getSize(ValueT value)
-
-