Class FastSnapshot
- java.lang.Object
- 
- com.codahale.metrics.Snapshot
- 
- org.apache.bookkeeper.stats.codahale.FastSnapshot
 
 
- 
 public class FastSnapshot extends com.codahale.metrics.SnapshotA snapshot of a FastTimer.
- 
- 
Constructor SummaryConstructors Constructor Description FastSnapshot(FastTimer timer, long min, long max, long sum, long cnt, long[] values)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddump(java.io.OutputStream output)longgetMax()doublegetMean()longgetMin()doublegetStdDev()doublegetValue(double quantile)long[]getValues()intsize()
 
- 
- 
- 
Constructor Detail- 
FastSnapshotpublic FastSnapshot(FastTimer timer, long min, long max, long sum, long cnt, long[] values) 
 
- 
 - 
Method Detail- 
getValuepublic double getValue(double quantile) - Specified by:
- getValuein class- com.codahale.metrics.Snapshot
 
 - 
getValuespublic long[] getValues() - Specified by:
- getValuesin class- com.codahale.metrics.Snapshot
 
 - 
sizepublic int size() - Specified by:
- sizein class- com.codahale.metrics.Snapshot
 
 - 
getMaxpublic long getMax() - Specified by:
- getMaxin class- com.codahale.metrics.Snapshot
 
 - 
getMeanpublic double getMean() - Specified by:
- getMeanin class- com.codahale.metrics.Snapshot
 
 - 
getMinpublic long getMin() - Specified by:
- getMinin class- com.codahale.metrics.Snapshot
 
 - 
getStdDevpublic double getStdDev() - Specified by:
- getStdDevin class- com.codahale.metrics.Snapshot
 
 - 
dumppublic void dump(java.io.OutputStream output) - Specified by:
- dumpin class- com.codahale.metrics.Snapshot
 
 
- 
 
-