Class 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()  
      • Methods inherited from class com.codahale.metrics.Snapshot

        get75thPercentile, get95thPercentile, get98thPercentile, get999thPercentile, get99thPercentile, getMedian
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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 class com.codahale.metrics.Snapshot
      • getValues

        public long[] getValues()
        Specified by:
        getValues in class com.codahale.metrics.Snapshot
      • size

        public int size()
        Specified by:
        size in class com.codahale.metrics.Snapshot
      • getMax

        public long getMax()
        Specified by:
        getMax in class com.codahale.metrics.Snapshot
      • getMean

        public double getMean()
        Specified by:
        getMean in class com.codahale.metrics.Snapshot
      • getMin

        public long getMin()
        Specified by:
        getMin in class com.codahale.metrics.Snapshot
      • getStdDev

        public double getStdDev()
        Specified by:
        getStdDev in class com.codahale.metrics.Snapshot
      • dump

        public void dump​(java.io.OutputStream output)
        Specified by:
        dump in class com.codahale.metrics.Snapshot