org.apache.commons.monitoring.jta
Class JTAGauges.JTAGauge
java.lang.Object
org.apache.commons.monitoring.jta.JTAGauges.JTAGauge
- All Implemented Interfaces:
- Gauge
- Direct Known Subclasses:
- JTAGauges.JTAActiveGauge
- Enclosing class:
- JTAGauges
protected static class JTAGauges.JTAGauge
- extends Object
- implements Gauge
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
counter
protected final AtomicLong counter
JTAGauges.JTAGauge
protected JTAGauges.JTAGauge(Role role,
AtomicLong counter,
long period)
role
public Role role()
- Specified by:
role
in interface Gauge
value
public double value()
- Specified by:
value
in interface Gauge
period
public long period()
- Specified by:
period
in interface Gauge
Copyright © 2008–2013 The Apache Software Foundation. All rights reserved.