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 TypeMethodDescriptionlongaverage time in ms taken by the execution of this query onto the DBlongqueries executed to the DBlongmax time in ms taken by the execution of this query onto the DBlongmin 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, getCacheRemoveCount, incrementCacheHitCount, incrementCacheMissCount, incrementCachePutCount, incrementCacheRemoveCountMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.hibernate.stat.CacheableDataStatistics
getCacheHitCount, getCacheMissCount, getCachePutCount, getCacheRegionName, getCacheRemoveCount
-
Method Details
-
getExecutionCount
public long getExecutionCount()queries executed to the DB- Specified by:
getExecutionCountin interfaceNaturalIdStatistics
-
getExecutionAvgTime
public long getExecutionAvgTime()average time in ms taken by the execution of this query onto the DB- Specified by:
getExecutionAvgTimein interfaceNaturalIdStatistics
-
getExecutionMaxTime
public long getExecutionMaxTime()max time in ms taken by the execution of this query onto the DB- Specified by:
getExecutionMaxTimein interfaceNaturalIdStatistics
-
getExecutionMinTime
public long getExecutionMinTime()min time in ms taken by the execution of this query onto the DB- Specified by:
getExecutionMinTimein interfaceNaturalIdStatistics
-
toString
-