Package org.hibernate.stat.internal
Class NaturalIdStatisticsImpl
java.lang.Object
org.hibernate.stat.internal.AbstractCacheableDataStatistics
org.hibernate.stat.internal.NaturalIdStatisticsImpl
- All Implemented Interfaces:
Serializable
,CacheableDataStatistics
,NaturalIdStatistics
public class NaturalIdStatisticsImpl
extends AbstractCacheableDataStatistics
implements NaturalIdStatistics, Serializable
NaturalId cache statistics of a specific entity
- See Also:
-
Field Summary
Fields inherited from interface org.hibernate.stat.CacheableDataStatistics
NOT_CACHED_COUNT
-
Method Summary
Modifier and TypeMethodDescriptionlong
average time in ms taken by the execution of this query onto the DBlong
queries executed to the DBlong
max time in ms taken by the execution of this query onto the DBlong
min time in ms taken by the execution of this query onto the DBtoString()
Methods inherited from class org.hibernate.stat.internal.AbstractCacheableDataStatistics
appendCacheStats, getCacheHitCount, getCacheMissCount, getCachePutCount, getCacheRegionName, incrementCacheHitCount, incrementCacheMissCount, incrementCachePutCount
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface org.hibernate.stat.CacheableDataStatistics
getCacheHitCount, getCacheMissCount, getCachePutCount, getCacheRegionName
-
Method Details
-
getExecutionCount
public long getExecutionCount()queries executed to the DB- Specified by:
getExecutionCount
in interfaceNaturalIdStatistics
-
getExecutionAvgTime
public long getExecutionAvgTime()average time in ms taken by the execution of this query onto the DB- Specified by:
getExecutionAvgTime
in interfaceNaturalIdStatistics
-
getExecutionMaxTime
public long getExecutionMaxTime()max time in ms taken by the execution of this query onto the DB- Specified by:
getExecutionMaxTime
in interfaceNaturalIdStatistics
-
getExecutionMinTime
public long getExecutionMinTime()min time in ms taken by the execution of this query onto the DB- Specified by:
getExecutionMinTime
in interfaceNaturalIdStatistics
-
toString
-