Package io.helidon.dbclient.metrics.jdbc
Class JdbcMetricsTimer
- java.lang.Object
-
- io.helidon.dbclient.metrics.jdbc.JdbcMetricsTimer
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.eclipse.microprofile.metrics.Timer
Timer.Context
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetCount()doublegetFifteenMinuteRate()doublegetFiveMinuteRate()doublegetMeanRate()doublegetOneMinuteRate()SnapshotgetSnapshot()Timer.Contexttime()voidtime(Runnable event)<T> Ttime(Callable<T> event)voidupdate(long duration, TimeUnit unit)
-
-
-
Method Detail
-
time
public Timer.Context time()
-
getCount
public long getCount()
-
getFifteenMinuteRate
public double getFifteenMinuteRate()
- Specified by:
getFifteenMinuteRatein interfaceMetered- Specified by:
getFifteenMinuteRatein interfaceTimer
-
getFiveMinuteRate
public double getFiveMinuteRate()
- Specified by:
getFiveMinuteRatein interfaceMetered- Specified by:
getFiveMinuteRatein interfaceTimer
-
getMeanRate
public double getMeanRate()
- Specified by:
getMeanRatein interfaceMetered- Specified by:
getMeanRatein interfaceTimer
-
getOneMinuteRate
public double getOneMinuteRate()
- Specified by:
getOneMinuteRatein interfaceMetered- Specified by:
getOneMinuteRatein interfaceTimer
-
getSnapshot
public Snapshot getSnapshot()
- Specified by:
getSnapshotin interfaceSampling- Specified by:
getSnapshotin interfaceTimer
-
-