|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.hibernate.stat.internal.CategorizedStatistics org.hibernate.stat.internal.ConcurrentQueryStatisticsImpl
public class ConcurrentQueryStatisticsImpl
Query statistics (HQL and SQL)
Note that for a cached query, the cache miss is equals to the db count
Method Summary | |
---|---|
long |
getCacheHitCount()
Queries retrieved successfully from the cache |
long |
getCacheMissCount()
|
long |
getCachePutCount()
|
long |
getExecutionAvgTime()
average time in ms taken by the excution of this query onto the DB |
long |
getExecutionCount()
queries executed to the DB |
long |
getExecutionMaxTime()
max time in ms taken by the excution of this query onto the DB |
long |
getExecutionMinTime()
min time in ms taken by the excution 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 |
String |
toString()
|
Methods inherited from class org.hibernate.stat.internal.CategorizedStatistics |
---|
getCategoryName |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Method Detail |
---|
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 statistic
getExecutionRowCount
in interface QueryStatistics
public long getExecutionAvgTime()
getExecutionAvgTime
in interface QueryStatistics
public long getExecutionMaxTime()
getExecutionMaxTime
in interface QueryStatistics
public long getExecutionMinTime()
getExecutionMinTime
in interface QueryStatistics
public String toString()
toString
in class Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |