public final class HistogramSnapshot
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
long |
count() |
static HistogramSnapshot |
empty() |
CountAtValue[] |
histogramCounts() |
double |
max() |
double |
max(java.util.concurrent.TimeUnit unit) |
double |
mean() |
double |
mean(java.util.concurrent.TimeUnit unit) |
static HistogramSnapshot |
of(long count,
double total,
double max,
ValueAtPercentile[] percentileValues,
CountAtValue[] histogramCounts) |
ValueAtPercentile[] |
percentileValues() |
java.lang.String |
toString() |
double |
total() |
double |
total(java.util.concurrent.TimeUnit unit) |
public static HistogramSnapshot of(long count, double total, double max, ValueAtPercentile[] percentileValues, CountAtValue[] histogramCounts)
public static HistogramSnapshot empty()
public long count()
public double total()
public double total(java.util.concurrent.TimeUnit unit)
public double max()
public double max(java.util.concurrent.TimeUnit unit)
public double mean()
public double mean(java.util.concurrent.TimeUnit unit)
public ValueAtPercentile[] percentileValues()
public CountAtValue[] histogramCounts()
public java.lang.String toString()
toString
in class java.lang.Object