@InterfaceAudience.Public @InterfaceStability.Evolving public abstract class MutableGauge extends MutableMetric
Modifier | Constructor and Description |
---|---|
protected |
MutableGauge(MetricsInfo info) |
Modifier and Type | Method and Description |
---|---|
abstract void |
decr()
Decrement the value of the metric by 1
|
abstract void |
incr()
Increment the value of the metric by 1
|
protected MetricsInfo |
info() |
changed, clearChanged, setChanged, snapshot, snapshot
protected MutableGauge(MetricsInfo info)
protected MetricsInfo info()
public abstract void incr()
public abstract void decr()
Copyright © 2021 Apache Software Foundation. All rights reserved.