org.smallmind.instrument.jmx
Class MeterMonitor
java.lang.Object
javax.management.StandardMBean
org.smallmind.instrument.jmx.MeterMonitor
- All Implemented Interfaces:
- DynamicMBean, MBeanRegistration, Countable, MeterMonitorMXBean, Metered
public class MeterMonitor
- extends StandardMBean
- implements MeterMonitorMXBean
| 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 |
MeterMonitor
public MeterMonitor(Meter meter)
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.