Package io.helidon.dbclient.metrics.jdbc
Class JdbcMetricsTimer
java.lang.Object
io.helidon.dbclient.metrics.jdbc.JdbcMetricsTimer
Timer metric wrapper for Hikari CP metric.-
Nested Class Summary
Nested classes/interfaces inherited from interface org.eclipse.microprofile.metrics.Timer
Timer.Context -
Method Summary
-
Method Details
-
time
-
time
-
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
- Specified by:
getSnapshotin interfaceSampling- Specified by:
getSnapshotin interfaceTimer
-
update
-
getElapsedTime
- Specified by:
getElapsedTimein interfaceTimer
-