com.espertech.esper.metrics.codahale_metrics.metrics.util
Class PercentGauge

java.lang.Object
  extended by com.espertech.esper.metrics.codahale_metrics.metrics.core.Gauge<java.lang.Double>
      extended by com.espertech.esper.metrics.codahale_metrics.metrics.util.RatioGauge
          extended by com.espertech.esper.metrics.codahale_metrics.metrics.util.PercentGauge
All Implemented Interfaces:
Metric

public abstract class PercentGauge
extends RatioGauge

A RatioGauge extension which returns a percentage, not a ratio.


Constructor Summary
PercentGauge()
           
 
Method Summary
 java.lang.Double value()
          Returns the metric's current value.
 
Methods inherited from class com.espertech.esper.metrics.codahale_metrics.metrics.util.RatioGauge
getDenominator, getNumerator
 
Methods inherited from class com.espertech.esper.metrics.codahale_metrics.metrics.core.Gauge
processWith
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PercentGauge

public PercentGauge()
Method Detail

value

public java.lang.Double value()
Description copied from class: Gauge
Returns the metric's current value.

Overrides:
value in class RatioGauge
Returns:
the metric's current value

© 2006-2016 EsperTech Inc.
All rights reserved.
Visit us at espertech.com