Package net.brdloush.dbstopwatch
Class DbStopWatch.TaskInfo
java.lang.Object
net.brdloush.dbstopwatch.DbStopWatch.TaskInfo
- Enclosing class:
DbStopWatch
Data class to hold information about one task including query statistics.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
TaskInfo
public TaskInfo(String taskName, long timeNanos, long queryCount, double queryMaxMs, long queryTotalMs, long updateCount, double updateMaxMs, long updateTotalMs, long batchCount, double batchMaxMs, long batchTotalMs)
-
-
Method Details
-
getTaskName
-
getTimeNanos
public long getTimeNanos() -
getQueryCount
public long getQueryCount() -
getQueryMaxMs
public double getQueryMaxMs() -
getQueryTotalMs
public long getQueryTotalMs() -
getUpdateCount
public long getUpdateCount() -
getUpdateMaxMs
public double getUpdateMaxMs() -
getUpdateTotalMs
public long getUpdateTotalMs() -
getBatchCount
public long getBatchCount() -
getBatchMaxMs
public double getBatchMaxMs() -
getBatchTotalMs
public long getBatchTotalMs() -
getTimeMillis
public long getTimeMillis()Get the time this task took in milliseconds. -
getTimeSeconds
public double getTimeSeconds()Get the time this task took in seconds. -
getTime
Get the time this task took in the requested time unit. -
equals
-
hashCode
public int hashCode() -
toString
-