public interface Gauge extends Instrument
Instrument that can oscillate its value over time. It may be less than
the last time you called , the same or more than the last time you called it.
A Gauge is used to represent a monitored value that can go up and down in value. For example the number of "simultaneous users" can go up and down over value.
Counter| Modifier and Type | Method and Description |
|---|---|
long |
addAndGet(long delta)
Adds the delta value to the Gauge and returns the new value.
|
long |
decrementAndGet()
Decrements one from the Gauge and returns the new value
|
long |
incrementAndGet()
Adds one to the Gauge and returns the new value
|
getName, getValuecompareTolong incrementAndGet()
long decrementAndGet()
long addAndGet(long delta)
delta - this can be positive or negativeCopyright © 2016 Atlassian. All rights reserved.