Class JmxReporter.JmxTimer
java.lang.Object
com.codahale.metrics.JmxReporter.AbstractBean
com.codahale.metrics.JmxReporter.JmxMeter
com.codahale.metrics.JmxReporter.JmxTimer
- All Implemented Interfaces:
JmxReporter.JmxMeterMBean, JmxReporter.JmxTimerMBean, JmxReporter.MetricMBean
- Enclosing class:
JmxReporter
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivateJmxTimer(Timer metric, ObjectName objectName, TimeUnit rateUnit, TimeUnit durationUnit) -
Method Summary
Methods inherited from class JmxReporter.JmxMeter
getCount, getFifteenMinuteRate, getFiveMinuteRate, getMeanRate, getOneMinuteRate, getRateUnitMethods inherited from class JmxReporter.AbstractBean
objectNameMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface JmxReporter.JmxMeterMBean
getCount, getFifteenMinuteRate, getFiveMinuteRate, getMeanRate, getOneMinuteRate, getRateUnitMethods inherited from interface JmxReporter.MetricMBean
objectName
-
Field Details
-
metric
-
durationFactor
private final double durationFactor -
durationUnit
-
-
Constructor Details
-
JmxTimer
-
-
Method Details
-
get50thPercentile
public double get50thPercentile()- Specified by:
get50thPercentilein interfaceJmxReporter.JmxTimerMBean
-
getMin
public double getMin()- Specified by:
getMinin interfaceJmxReporter.JmxTimerMBean
-
getMax
public double getMax()- Specified by:
getMaxin interfaceJmxReporter.JmxTimerMBean
-
getMean
public double getMean()- Specified by:
getMeanin interfaceJmxReporter.JmxTimerMBean
-
getStdDev
public double getStdDev()- Specified by:
getStdDevin interfaceJmxReporter.JmxTimerMBean
-
get75thPercentile
public double get75thPercentile()- Specified by:
get75thPercentilein interfaceJmxReporter.JmxTimerMBean
-
get95thPercentile
public double get95thPercentile()- Specified by:
get95thPercentilein interfaceJmxReporter.JmxTimerMBean
-
get98thPercentile
public double get98thPercentile()- Specified by:
get98thPercentilein interfaceJmxReporter.JmxTimerMBean
-
get99thPercentile
public double get99thPercentile()- Specified by:
get99thPercentilein interfaceJmxReporter.JmxTimerMBean
-
get999thPercentile
public double get999thPercentile()- Specified by:
get999thPercentilein interfaceJmxReporter.JmxTimerMBean
-
values
public long[] values()- Specified by:
valuesin interfaceJmxReporter.JmxTimerMBean
-
getDurationUnit
- Specified by:
getDurationUnitin interfaceJmxReporter.JmxTimerMBean
-