public class DoubleGauge extends NumberGauge
Gauge
that reports a double value.config
Constructor and Description |
---|
DoubleGauge(MonitorConfig config)
Create a new instance with the specified configuration.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
com.google.common.util.concurrent.AtomicDouble |
getNumber()
Returns a reference to the
AtomicDouble . |
int |
hashCode() |
void |
set(java.lang.Double n)
Set the current value.
|
getValue, toString
getConfig, getValue
public DoubleGauge(MonitorConfig config)
config
- configuration for this gaugepublic void set(java.lang.Double n)
public com.google.common.util.concurrent.AtomicDouble getNumber()
AtomicDouble
.public boolean equals(java.lang.Object o)
equals
in class NumberGauge
public int hashCode()
hashCode
in class NumberGauge