org.smallmind.instrument.jmx
Class ChronometerMonitor

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

public class ChronometerMonitor
extends StandardMBean
implements ChronometerMonitorMXBean


Constructor Summary
ChronometerMonitor(Chronometer chronometer)
           
 
Method Summary
 double get75thPercentile()
           
 double get95thPercentile()
           
 double get98thPercentile()
           
 double get999thPercentile()
           
 double get99thPercentile()
           
 double getAverage()
           
 double getAverageRate()
           
 long getCount()
           
 double getFifteenMinuteRate()
           
 double getFiveMinuteRate()
           
 TimeUnit getLatencyTimeUnit()
           
 double getMax()
           
 double getMedian()
           
 double getMin()
           
 double getOneMinuteRate()
           
 TimeUnit getRateTimeUnit()
           
 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

ChronometerMonitor

public ChronometerMonitor(Chronometer chronometer)
Method Detail

getSampleType

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

getLatencyTimeUnit

public TimeUnit getLatencyTimeUnit()
Specified by:
getLatencyTimeUnit in interface Timed

getRateTimeUnit

public TimeUnit getRateTimeUnit()
Specified by:
getRateTimeUnit in interface Metered

getCount

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

getOneMinuteRate

public double getOneMinuteRate()
Specified by:
getOneMinuteRate in interface Metered

getFiveMinuteRate

public double getFiveMinuteRate()
Specified by:
getFiveMinuteRate in interface Metered

getFifteenMinuteRate

public double getFifteenMinuteRate()
Specified by:
getFifteenMinuteRate in interface Metered

getAverageRate

public double getAverageRate()
Specified by:
getAverageRate in interface Metered

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

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.