public class LongGauge extends NumberGauge
Gauge that reports a long value.config| Constructor and Description |
|---|
LongGauge(MonitorConfig config)
Create a new instance with the specified configuration.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
java.util.concurrent.atomic.AtomicLong |
getNumber()
Returns a reference to the
AtomicLong. |
int |
hashCode() |
void |
set(java.lang.Long n)
Set the current value.
|
getValue, toStringgetConfig, getValuepublic LongGauge(MonitorConfig config)
config - configuration for this gaugepublic void set(java.lang.Long n)
public java.util.concurrent.atomic.AtomicLong getNumber()
AtomicLong.public boolean equals(java.lang.Object o)
equals in class NumberGaugepublic int hashCode()
hashCode in class NumberGauge