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
-
Field Summary
Fields -
Constructor Summary
ConstructorsModifierConstructorDescriptionprivate
JmxTimer
(Timer metric, ObjectName objectName, TimeUnit rateUnit, TimeUnit durationUnit) -
Method Summary
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 Details
-
metric
-
durationFactor
private final double durationFactor -
durationUnit
-
-
Constructor Details
-
JmxTimer
-
-
Method Details
-
get50thPercentile
public double get50thPercentile()- Specified by:
get50thPercentile
in interfaceJmxReporter.JmxTimerMBean
-
getMin
public double getMin()- Specified by:
getMin
in interfaceJmxReporter.JmxTimerMBean
-
getMax
public double getMax()- Specified by:
getMax
in interfaceJmxReporter.JmxTimerMBean
-
getMean
public double getMean()- Specified by:
getMean
in interfaceJmxReporter.JmxTimerMBean
-
getStdDev
public double getStdDev()- Specified by:
getStdDev
in interfaceJmxReporter.JmxTimerMBean
-
get75thPercentile
public double get75thPercentile()- Specified by:
get75thPercentile
in interfaceJmxReporter.JmxTimerMBean
-
get95thPercentile
public double get95thPercentile()- Specified by:
get95thPercentile
in interfaceJmxReporter.JmxTimerMBean
-
get98thPercentile
public double get98thPercentile()- Specified by:
get98thPercentile
in interfaceJmxReporter.JmxTimerMBean
-
get99thPercentile
public double get99thPercentile()- Specified by:
get99thPercentile
in interfaceJmxReporter.JmxTimerMBean
-
get999thPercentile
public double get999thPercentile()- Specified by:
get999thPercentile
in interfaceJmxReporter.JmxTimerMBean
-
values
public long[] values()- Specified by:
values
in interfaceJmxReporter.JmxTimerMBean
-
getDurationUnit
- Specified by:
getDurationUnit
in interfaceJmxReporter.JmxTimerMBean
-