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:
- Serialized Form
-
-
Field Summary
-
Fields inherited from interface org.hibernate.stat.CacheableDataStatistics
NOT_CACHED_COUNT
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description longgetExecutionAvgTime()average time in ms taken by the execution of this query onto the DBlonggetExecutionCount()queries executed to the DBlonggetExecutionMaxTime()max time in ms taken by the execution of this query onto the DBlonggetExecutionMinTime()min time in ms taken by the execution of this query onto the DBStringtoString()-
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 Detail
-
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
-
-