Package net.brdloush.dbstopwatch
Class DbStatsStopWatch.TaskInfo
-
- All Implemented Interfaces:
public final class DbStatsStopWatch.TaskInfoData class to hold information about one task including query statistics.
-
-
Field Summary
Fields Modifier and Type Field Description private final StringtaskNameprivate final LongtimeNanosprivate final LongqueryCountprivate final DoublequeryMaxMsprivate final LongqueryTotalMsprivate final LongupdateCountprivate final DoubleupdateMaxMsprivate final LongupdateTotalMsprivate final LongbatchCountprivate final DoublebatchMaxMsprivate final LongbatchTotalMs
-
Method Summary
Modifier and Type Method Description final StringgetTaskName()final LonggetTimeNanos()final LonggetQueryCount()final DoublegetQueryMaxMs()final LonggetQueryTotalMs()final LonggetUpdateCount()final DoublegetUpdateMaxMs()final LonggetUpdateTotalMs()final LonggetBatchCount()final DoublegetBatchMaxMs()final LonggetBatchTotalMs()final LonggetTimeMillis()Get the time this task took in milliseconds. final DoublegetTimeSeconds()Get the time this task took in seconds. final DoublegetTime(TimeUnit timeUnit)Get the time this task took in the requested time unit. -
-
Method Detail
-
getTaskName
final String getTaskName()
-
getTimeNanos
final Long getTimeNanos()
-
getQueryCount
final Long getQueryCount()
-
getQueryMaxMs
final Double getQueryMaxMs()
-
getQueryTotalMs
final Long getQueryTotalMs()
-
getUpdateCount
final Long getUpdateCount()
-
getUpdateMaxMs
final Double getUpdateMaxMs()
-
getUpdateTotalMs
final Long getUpdateTotalMs()
-
getBatchCount
final Long getBatchCount()
-
getBatchMaxMs
final Double getBatchMaxMs()
-
getBatchTotalMs
final Long getBatchTotalMs()
-
getTimeMillis
final Long getTimeMillis()
Get the time this task took in milliseconds.
-
getTimeSeconds
final Double getTimeSeconds()
Get the time this task took in seconds.
-
-
-
-