public class ConcurrentQueryStatisticsImpl extends CategorizedStatistics implements QueryStatistics
Modifier and Type | Method and Description |
---|---|
long |
getCacheHitCount()
Queries retrieved successfully from the cache
|
long |
getCacheMissCount() |
long |
getCachePutCount() |
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
|
java.lang.String |
toString() |
getCategoryName
public long getExecutionCount()
getExecutionCount
in interface QueryStatistics
public long getCacheHitCount()
getCacheHitCount
in interface QueryStatistics
public long getCachePutCount()
getCachePutCount
in interface QueryStatistics
public long getCacheMissCount()
getCacheMissCount
in interface QueryStatistics
public long getExecutionRowCount()
Query.iterate()
and Query.scroll()()
do not fill this statisticgetExecutionRowCount
in interface QueryStatistics
public long getExecutionAvgTime()
getExecutionAvgTime
in interface QueryStatistics
public double getExecutionAvgTimeAsDouble()
getExecutionAvgTimeAsDouble
in interface QueryStatistics
public long getExecutionMaxTime()
getExecutionMaxTime
in interface QueryStatistics
public long getExecutionMinTime()
getExecutionMinTime
in interface QueryStatistics
public long getExecutionTotalTime()
getExecutionTotalTime
in interface QueryStatistics
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.