Class HistogramSnapshot
- java.lang.Object
-
- org.forgerock.monitoring.api.instrument.HistogramSnapshot
-
public final class HistogramSnapshot extends Object
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description long
count()
static HistogramSnapshot
empty()
CountAtValue[]
histogramCounts()
double
max()
double
max(TimeUnit unit)
double
mean()
double
mean(TimeUnit unit)
static HistogramSnapshot
of(long count, double total, double max, ValueAtPercentile[] percentileValues, CountAtValue[] histogramCounts)
ValueAtPercentile[]
percentileValues()
String
toString()
double
total()
double
total(TimeUnit unit)
-
-
-
Method Detail
-
of
public static HistogramSnapshot of(long count, double total, double max, @Nullable ValueAtPercentile[] percentileValues, @Nullable CountAtValue[] histogramCounts)
-
empty
public static HistogramSnapshot empty()
-
count
public long count()
-
total
public double total()
-
total
public double total(TimeUnit unit)
-
max
public double max()
-
max
public double max(TimeUnit unit)
-
mean
public double mean()
-
mean
public double mean(TimeUnit unit)
-
percentileValues
public ValueAtPercentile[] percentileValues()
-
histogramCounts
public CountAtValue[] histogramCounts()
-
-