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
ConstructorsConstructorDescriptionFastSnapshot(FastTimer timer, long min, long max, long sum, long cnt, long[] values) -
Method Summary
Methods inherited from class com.codahale.metrics.Snapshot
get75thPercentile, get95thPercentile, get98thPercentile, get999thPercentile, get99thPercentile, getMedian
-
Constructor Details
-
FastSnapshot
-
-
Method Details
-
getValue
public double getValue(double quantile) - Specified by:
getValuein classcom.codahale.metrics.Snapshot
-
getValues
public long[] getValues()- Specified by:
getValuesin classcom.codahale.metrics.Snapshot
-
size
public int size()- Specified by:
sizein classcom.codahale.metrics.Snapshot
-
getMax
public long getMax()- Specified by:
getMaxin classcom.codahale.metrics.Snapshot
-
getMean
public double getMean()- Specified by:
getMeanin classcom.codahale.metrics.Snapshot
-
getMin
public long getMin()- Specified by:
getMinin classcom.codahale.metrics.Snapshot
-
getStdDev
public double getStdDev()- Specified by:
getStdDevin classcom.codahale.metrics.Snapshot
-
dump
- Specified by:
dumpin classcom.codahale.metrics.Snapshot
-