Package com.codahale.metrics
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
static class JmxReporter.JmxTimer extends JmxReporter.JmxMeter implements JmxReporter.JmxTimerMBean
-
-
Field Summary
Fields Modifier and Type Field Description private doubledurationFactorprivate java.lang.StringdurationUnitprivate Timermetric
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doubleget50thPercentile()doubleget75thPercentile()doubleget95thPercentile()doubleget98thPercentile()doubleget999thPercentile()doubleget99thPercentile()java.lang.StringgetDurationUnit()doublegetMax()doublegetMean()doublegetMin()doublegetStdDev()long[]values()-
Methods inherited from class com.codahale.metrics.JmxReporter.JmxMeter
getCount, getFifteenMinuteRate, getFiveMinuteRate, getMeanRate, getOneMinuteRate, getRateUnit
-
Methods inherited from class com.codahale.metrics.JmxReporter.AbstractBean
objectName
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.codahale.metrics.JmxReporter.JmxMeterMBean
getCount, getFifteenMinuteRate, getFiveMinuteRate, getMeanRate, getOneMinuteRate, getRateUnit
-
Methods inherited from interface com.codahale.metrics.JmxReporter.MetricMBean
objectName
-
-
-
-
Field Detail
-
metric
private final Timer metric
-
durationFactor
private final double durationFactor
-
durationUnit
private final java.lang.String durationUnit
-
-
Constructor Detail
-
JmxTimer
private JmxTimer(Timer metric, javax.management.ObjectName objectName, java.util.concurrent.TimeUnit rateUnit, java.util.concurrent.TimeUnit durationUnit)
-
-
Method Detail
-
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
public java.lang.String getDurationUnit()
- Specified by:
getDurationUnitin interfaceJmxReporter.JmxTimerMBean
-
-