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 long
getExecutionAvgTime()
average time in ms taken by the execution of this query onto the DBlong
getExecutionCount()
queries executed to the DBlong
getExecutionMaxTime()
max time in ms taken by the execution of this query onto the DBlong
getExecutionMinTime()
min time in ms taken by the execution of this query onto the DBString
toString()
-
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:
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
-
-