public class MutableGaugeFloat extends MutableGauge
| Modifier and Type | Method | Description |
|---|---|---|
void |
decr() |
Decrement the value of the metric by 1
|
void |
incr() |
Increment the value of the metric by 1
|
void |
set(float value) |
|
void |
snapshot(MetricsRecordBuilder builder,
boolean all) |
Get a snapshot of the metric
|
java.lang.String |
toString() |
|
float |
value() |
infochanged, clearChanged, setChanged, snapshotpublic float value()
public void incr()
MutableGaugeincr in class MutableGaugepublic void decr()
MutableGaugedecr in class MutableGaugepublic void snapshot(MetricsRecordBuilder builder, boolean all)
MutableMetricsnapshot in class MutableMetricbuilder - the metrics record builderall - if true, snapshot unchanged metrics as wellpublic void set(float value)
public java.lang.String toString()
toString in class java.lang.ObjectCopyright © 2008–2025 Apache Software Foundation. All rights reserved.