public class DoNothingHistogramSnapshot extends Object implements HistogramSnapshot
| Constructor and Description |
|---|
DoNothingHistogramSnapshot() |
| Modifier and Type | Method and Description |
|---|---|
void |
dump(OutputStream output)
Writes the values of the snapshot to the given stream.
|
long |
getMax()
Get max of values
|
double |
getMean()
Get mean of values
|
double |
getMedian()
Get median of values
|
long |
getMin()
Get min of values
|
double |
getValue(double quantile)
Get value by quantile
|
long[] |
getValues()
Get values in snapshot
|
int |
size()
Get size of value in snapshot
|
public double getValue(double quantile)
HistogramSnapshotgetValue in interface HistogramSnapshotpublic long[] getValues()
HistogramSnapshotgetValues in interface HistogramSnapshotpublic int size()
HistogramSnapshotsize in interface HistogramSnapshotpublic double getMedian()
HistogramSnapshotgetMedian in interface HistogramSnapshotpublic long getMax()
HistogramSnapshotgetMax in interface HistogramSnapshotpublic double getMean()
HistogramSnapshotgetMean in interface HistogramSnapshotpublic long getMin()
HistogramSnapshotgetMin in interface HistogramSnapshotpublic void dump(OutputStream output)
HistogramSnapshotdump in interface HistogramSnapshotoutput - an output streamCopyright © 2022 The Apache Software Foundation. All rights reserved.