public class QueryStatisticsImpl extends Object implements QueryStatistics
| Modifier and Type | Method and Description |
|---|---|
long |
getCacheHitCount()
Queries retrieved successfully from the cache
|
long |
getCacheMissCount()
The number of cache misses for this query
|
long |
getCachePutCount()
The number of cache puts for this query
|
long |
getExecutionAvgTime()
average time in ms taken by the execution of this query onto the DB
|
double |
getExecutionAvgTimeAsDouble()
average time in ms as double taken by the execution of this query onto the DB
|
long |
getExecutionCount()
queries executed to the DB
|
long |
getExecutionMaxTime()
max time in ms taken by the execution of this query onto the DB
|
long |
getExecutionMinTime()
min time in ms taken by the execution of this query onto the DB
|
long |
getExecutionRowCount()
Number of lines returned by all the executions of this query (from DB)
For now,
Query.iterate()
and Query.scroll()() do not fill this statistic |
long |
getExecutionTotalTime()
total time in ms taken by the execution of this query onto the DB
|
String |
toString() |
public long getExecutionCount()
getExecutionCount in interface QueryStatisticspublic long getCacheHitCount()
getCacheHitCount in interface QueryStatisticspublic long getCachePutCount()
QueryStatisticsgetCachePutCount in interface QueryStatisticspublic long getCacheMissCount()
QueryStatisticsgetCacheMissCount in interface QueryStatisticspublic long getExecutionRowCount()
Query.iterate()
and Query.scroll()() do not fill this statisticgetExecutionRowCount in interface QueryStatisticspublic long getExecutionAvgTime()
getExecutionAvgTime in interface QueryStatisticspublic double getExecutionAvgTimeAsDouble()
getExecutionAvgTimeAsDouble in interface QueryStatisticspublic long getExecutionMaxTime()
getExecutionMaxTime in interface QueryStatisticspublic long getExecutionMinTime()
getExecutionMinTime in interface QueryStatisticspublic long getExecutionTotalTime()
getExecutionTotalTime in interface QueryStatisticsCopyright © 2019 JBoss by Red Hat. All rights reserved.