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(java.util.Map<java.lang.String,java.lang.Object> result)voiddecr(long value)Decrease the value stored in gaugevoidincr(long value)Increase the value stored in gaugevoidset(long value)Set valuelongvalue()Get value stored in gauge
-
-
-
Method Detail
-
set
void set(long value)
Set value
-
value
long value()
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(java.util.Map<java.lang.String,java.lang.Object> result)
- Specified by:
constructValueMapin interfaceIMetric
-
-