Package org.infinispan.commons.stat
Interface SimpleStat
-
- All Known Implementing Classes:
DefaultSimpleStat
public interface SimpleStat
A simple statistic recorder that computes the average, minimum and maximum value observed.- Since:
- 10.0
- Author:
- Pedro Ruivo
-
-
Method Summary
All Methods Instance Methods Default Methods Modifier and Type Method Description default long
count()
default long
getAverage(long defaultValue)
default long
getMax(long defaultValue)
default long
getMin(long defaultValue)
default boolean
isEmpty()
default void
record(long value)
-