Class DropwizardTimer
- java.lang.Object
-
- org.apache.iotdb.metrics.dropwizard.type.DropwizardTimer
-
- All Implemented Interfaces:
org.apache.iotdb.metrics.type.IMetric,org.apache.iotdb.metrics.type.Timer
public class DropwizardTimer extends java.lang.Object implements org.apache.iotdb.metrics.type.Timer
-
-
Constructor Summary
Constructors Constructor Description DropwizardTimer(com.codahale.metrics.Timer timer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.apache.iotdb.metrics.type.RategetImmutableRate()org.apache.iotdb.metrics.type.HistogramSnapshottakeSnapshot()voidupdate(long duration, java.util.concurrent.TimeUnit unit)
-
-
-
Method Detail
-
update
public void update(long duration, java.util.concurrent.TimeUnit unit)- Specified by:
updatein interfaceorg.apache.iotdb.metrics.type.Timer
-
takeSnapshot
public org.apache.iotdb.metrics.type.HistogramSnapshot takeSnapshot()
- Specified by:
takeSnapshotin interfaceorg.apache.iotdb.metrics.type.Timer
-
getImmutableRate
public org.apache.iotdb.metrics.type.Rate getImmutableRate()
- Specified by:
getImmutableRatein interfaceorg.apache.iotdb.metrics.type.Timer
-
-