org.smallmind.instrument.jmx
Class HistogramMonitor

java.lang.Object
  extended by javax.management.StandardMBean
      extended by org.smallmind.instrument.jmx.HistogramMonitor
All Implemented Interfaces:
DynamicMBean, MBeanRegistration, Countable, Estimating, HistogramMonitorMXBean, Ranking

public class HistogramMonitor
extends StandardMBean
implements HistogramMonitorMXBean


Constructor Summary
HistogramMonitor(Histogram histogram)
           
 
Method Summary
 double get75thPercentile()
           
 double get95thPercentile()
           
 double get98thPercentile()
           
 double get999thPercentile()
           
 double get99thPercentile()
           
 double getAverage()
           
 long getCount()
           
 double getMax()
           
 double getMedian()
           
 double getMin()
           
 String getSampleType()
           
 double getStdDev()
           
 double getSum()
           
 double[] getValues()
           
 
Methods inherited from class javax.management.StandardMBean
cacheMBeanInfo, getAttribute, getAttributes, getCachedMBeanInfo, getClassName, getConstructors, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getDescription, getImpact, getImplementation, getImplementationClass, getMBeanInfo, getMBeanInterface, getParameterName, getParameterName, invoke, postDeregister, postRegister, preDeregister, preRegister, setAttribute, setAttributes, setImplementation
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HistogramMonitor

public HistogramMonitor(Histogram histogram)
Method Detail

getSampleType

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

getCount

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

getSum

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

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

getMedian

public double getMedian()
Specified by:
getMedian in interface Ranking

get75thPercentile

public double get75thPercentile()
Specified by:
get75thPercentile in interface Ranking

get95thPercentile

public double get95thPercentile()
Specified by:
get95thPercentile in interface Ranking

get98thPercentile

public double get98thPercentile()
Specified by:
get98thPercentile in interface Ranking

get99thPercentile

public double get99thPercentile()
Specified by:
get99thPercentile in interface Ranking

get999thPercentile

public double get999thPercentile()
Specified by:
get999thPercentile in interface Ranking

getValues

public double[] getValues()
Specified by:
getValues in interface Ranking


Copyright © 2012. All Rights Reserved.