org.smallmind.instrument
Class Histogram

java.lang.Object
  extended by org.smallmind.instrument.Histogram
All Implemented Interfaces:
Countable, Estimating, Metric, Shutterbug

public class Histogram
extends Object
implements Metric, Estimating, Shutterbug


Method Summary
 void clear()
           
 double getAverage()
           
 long getCount()
           
 double getMax()
           
 double getMin()
           
 String getSampleType()
           
 Snapshot getSnapshot()
           
 double getStdDev()
           
 double getSum()
           
 void update(long value)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

clear

public void clear()

update

public void update(long value)

getSampleType

public String getSampleType()
Specified by:
getSampleType in interface Estimating

getCount

public long getCount()
Specified by:
getCount in interface Countable

getMax

public double getMax()
Specified by:
getMax in interface Estimating

getMin

public double getMin()
Specified by:
getMin in interface Estimating

getAverage

public double getAverage()
Specified by:
getAverage in interface Estimating

getStdDev

public double getStdDev()
Specified by:
getStdDev in interface Estimating

getSum

public double getSum()
Specified by:
getSum in interface Estimating

getSnapshot

public Snapshot getSnapshot()
Specified by:
getSnapshot in interface Shutterbug


Copyright © 2012. All Rights Reserved.