Package org.hibernate.stat
Interface NaturalIdStatistics
- All Superinterfaces:
CacheableDataStatistics
,Serializable
- All Known Implementing Classes:
NaturalIdStatisticsImpl
Statistics pertaining to the execution of queries which resolve a natural
id lookup against the database.
- API Note:
- The natural-id resolution data is allowed to be stored in the
second-level cache, and if so stored will have available caching stats as
well available via
Statistics.getDomainDataRegionStatistics(java.lang.String)
using the configured region name
-
Field Summary
Fields inherited from interface org.hibernate.stat.CacheableDataStatistics
NOT_CACHED_COUNT
-
Method Summary
Modifier and TypeMethodDescriptionlong
The average amount of time it takes (since last Statistics clearing) for the execution of this "natural id resolution" querylong
Number of times (since last Statistics clearing) the "natural id resolution" query has been executedlong
The maximum amount of time it takes (since last Statistics clearing) for the execution of this "natural id resolution" querylong
The minimum amount of time it takes (since last Statistics clearing) for the execution of this "natural id resolution" queryMethods inherited from interface org.hibernate.stat.CacheableDataStatistics
getCacheHitCount, getCacheMissCount, getCachePutCount, getCacheRegionName
-
Method Details
-
getExecutionCount
long getExecutionCount()Number of times (since last Statistics clearing) the "natural id resolution" query has been executed -
getExecutionAvgTime
long getExecutionAvgTime()The average amount of time it takes (since last Statistics clearing) for the execution of this "natural id resolution" query -
getExecutionMaxTime
long getExecutionMaxTime()The maximum amount of time it takes (since last Statistics clearing) for the execution of this "natural id resolution" query -
getExecutionMinTime
long getExecutionMinTime()The minimum amount of time it takes (since last Statistics clearing) for the execution of this "natural id resolution" query
-