org.smallmind.instrument.jmx
Class MeterMonitor

java.lang.Object
  extended by javax.management.StandardMBean
      extended by org.smallmind.instrument.jmx.MeterMonitor
All Implemented Interfaces:
DynamicMBean, MBeanRegistration, Countable, MeterMonitorMXBean, Metered

public class MeterMonitor
extends StandardMBean
implements MeterMonitorMXBean


Constructor Summary
MeterMonitor(Meter meter)
           
 
Method Summary
 double getAverageRate()
           
 long getCount()
           
 double getFifteenMinuteRate()
           
 double getFiveMinuteRate()
           
 double getOneMinuteRate()
           
 TimeUnit getRateTimeUnit()
           
 
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

MeterMonitor

public MeterMonitor(Meter meter)
Method Detail

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


Copyright © 2012. All Rights Reserved.