Package org.apache.cassandra.metrics
Interface ScalingReservoir.ScaleFunction
-
- Enclosing class:
- ScalingReservoir
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface ScalingReservoir.ScaleFunction
Scale the input value. Not usingjava.util.function.Function<Long, Long>
to avoid auto-boxing.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description long
apply(long value)
-