org.apache.commons.monitoring.jta
Class JTAGauges.JTAActiveGauge

java.lang.Object
  extended by org.apache.commons.monitoring.jta.JTAGauges.JTAGauge
      extended by org.apache.commons.monitoring.jta.JTAGauges.JTAActiveGauge
All Implemented Interfaces:
Gauge
Enclosing class:
JTAGauges

protected static class JTAGauges.JTAActiveGauge
extends JTAGauges.JTAGauge


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.apache.commons.monitoring.gauges.Gauge
Gauge.LoaderHelper
 
Field Summary
 
Fields inherited from class org.apache.commons.monitoring.jta.JTAGauges.JTAGauge
counter
 
Constructor Summary
protected JTAGauges.JTAActiveGauge(Role role, AtomicLong counter, long period)
           
 
Method Summary
 double value()
           
 
Methods inherited from class org.apache.commons.monitoring.jta.JTAGauges.JTAGauge
period, role
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JTAGauges.JTAActiveGauge

protected JTAGauges.JTAActiveGauge(Role role,
                                   AtomicLong counter,
                                   long period)
Method Detail

value

public double value()
Specified by:
value in interface Gauge
Overrides:
value in class JTAGauges.JTAGauge


Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.