Class DropwizardGauge
- java.lang.Object
-
- org.apache.iotdb.metrics.dropwizard.type.DropwizardGauge
-
- All Implemented Interfaces:
org.apache.iotdb.metrics.type.Gauge,org.apache.iotdb.metrics.type.IMetric
public class DropwizardGauge extends java.lang.Object implements org.apache.iotdb.metrics.type.Gauge
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description classDropwizardGauge.DropwizardCachedGauge
-
Constructor Summary
Constructors Constructor Description DropwizardGauge()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voiddecr(long value)com.codahale.metrics.Gauge<java.lang.Long>getDropwizardCachedGauge()voidincr(long value)voidset(long value)longvalue()
-
-
-
Method Detail
-
value
public long value()
- Specified by:
valuein interfaceorg.apache.iotdb.metrics.type.Gauge
-
incr
public void incr(long value)
- Specified by:
incrin interfaceorg.apache.iotdb.metrics.type.Gauge
-
decr
public void decr(long value)
- Specified by:
decrin interfaceorg.apache.iotdb.metrics.type.Gauge
-
set
public void set(long value)
- Specified by:
setin interfaceorg.apache.iotdb.metrics.type.Gauge
-
getDropwizardCachedGauge
public com.codahale.metrics.Gauge<java.lang.Long> getDropwizardCachedGauge()
-
-