|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.netflix.servo.monitor.NumberGauge
com.netflix.servo.monitor.LongGauge
public class LongGauge
A Gauge that reports a long value.
| Constructor Summary | |
|---|---|
LongGauge(MonitorConfig config)
Create a new instance with the specified configuration. |
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class com.netflix.servo.monitor.NumberGauge |
|---|
getConfig, getValue, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public LongGauge(MonitorConfig config)
config - configuration for this gauge| Method Detail |
|---|
public 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
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||