Package org.apache.iotdb.metrics.type
Interface Gauge
-
- All Superinterfaces:
IMetric
- All Known Implementing Classes:
DoNothingGauge
public interface Gauge extends IMetric
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidconstructValueMap(Map<String,Object> result)voiddecr(long value)Decrease the value stored in gauge.longgetValue()Get value stored in gauge.voidincr(long value)Increase the value stored in gauge.voidset(long value)Set value.-
Methods inherited from interface org.apache.iotdb.metrics.type.IMetric
setObjectName
-
-
-
-
Method Detail
-
set
void set(long value)
Set value.
-
getValue
long getValue()
Get value stored in gauge.
-
incr
void incr(long value)
Increase the value stored in gauge.
-
decr
void decr(long value)
Decrease the value stored in gauge.
-
constructValueMap
default void constructValueMap(Map<String,Object> result)
- Specified by:
constructValueMapin interfaceIMetric
-
-