com.yammer.metrics.util
Class PercentGauge
java.lang.Object
com.yammer.metrics.core.Gauge<Double>
com.yammer.metrics.util.RatioGauge
com.yammer.metrics.util.PercentGauge
- All Implemented Interfaces:
- Metric
public abstract class PercentGauge
- extends RatioGauge
A RatioGauge
extension which returns a percentage, not a ratio.
Method Summary |
Double |
value()
Returns the metric's current value. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PercentGauge
public PercentGauge()
value
public Double value()
- Description copied from class:
Gauge
- Returns the metric's current value.
- Overrides:
value
in class RatioGauge
- Returns:
- the metric's current value
Copyright © 2012. All Rights Reserved.