Class FastSnapshot
- java.lang.Object
-
- com.codahale.metrics.Snapshot
-
- org.apache.bookkeeper.stats.codahale.FastSnapshot
-
public class FastSnapshot extends com.codahale.metrics.Snapshot
A snapshot of a FastTimer.
-
-
Constructor Summary
Constructors Constructor Description FastSnapshot(FastTimer timer, long min, long max, long sum, long cnt, long[] values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dump(java.io.OutputStream output)
long
getMax()
double
getMean()
long
getMin()
double
getStdDev()
double
getValue(double quantile)
long[]
getValues()
int
size()
-
-
-
Constructor Detail
-
FastSnapshot
public FastSnapshot(FastTimer timer, long min, long max, long sum, long cnt, long[] values)
-
-
Method Detail
-
getValue
public double getValue(double quantile)
- Specified by:
getValue
in classcom.codahale.metrics.Snapshot
-
getValues
public long[] getValues()
- Specified by:
getValues
in classcom.codahale.metrics.Snapshot
-
size
public int size()
- Specified by:
size
in classcom.codahale.metrics.Snapshot
-
getMax
public long getMax()
- Specified by:
getMax
in classcom.codahale.metrics.Snapshot
-
getMean
public double getMean()
- Specified by:
getMean
in classcom.codahale.metrics.Snapshot
-
getMin
public long getMin()
- Specified by:
getMin
in classcom.codahale.metrics.Snapshot
-
getStdDev
public double getStdDev()
- Specified by:
getStdDev
in classcom.codahale.metrics.Snapshot
-
dump
public void dump(java.io.OutputStream output)
- Specified by:
dump
in classcom.codahale.metrics.Snapshot
-
-