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:
getFifteenMinuteRate
in interfaceMetered
- Specified by:
getFifteenMinuteRate
in interfaceTimer
-
getFiveMinuteRate
public double getFiveMinuteRate()- Specified by:
getFiveMinuteRate
in interfaceMetered
- Specified by:
getFiveMinuteRate
in interfaceTimer
-
getMeanRate
public double getMeanRate()- Specified by:
getMeanRate
in interfaceMetered
- Specified by:
getMeanRate
in interfaceTimer
-
getOneMinuteRate
public double getOneMinuteRate()- Specified by:
getOneMinuteRate
in interfaceMetered
- Specified by:
getOneMinuteRate
in interfaceTimer
-
getSnapshot
- Specified by:
getSnapshot
in interfaceSampling
- Specified by:
getSnapshot
in interfaceTimer
-
update
-
getElapsedTime
- Specified by:
getElapsedTime
in interfaceTimer
-