public final class HistogramSnapshot extends Object
Modifier and Type | Method and 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) |
public static HistogramSnapshot of(long count, double total, double max, @Nullable ValueAtPercentile[] percentileValues, @Nullable CountAtValue[] histogramCounts)
public static HistogramSnapshot empty()
public long count()
public double total()
public double total(TimeUnit unit)
public double max()
public double max(TimeUnit unit)
public double mean()
public double mean(TimeUnit unit)
public ValueAtPercentile[] percentileValues()
public CountAtValue[] histogramCounts()
Copyright 2011-2017 ForgeRock AS.