Package org.hibernate.stat.internal
Class CollectionStatisticsImpl
- java.lang.Object
-
- org.hibernate.stat.internal.AbstractCacheableDataStatistics
-
- org.hibernate.stat.internal.CollectionStatisticsImpl
-
- All Implemented Interfaces:
Serializable
,CacheableDataStatistics
,CollectionStatistics
public class CollectionStatisticsImpl extends AbstractCacheableDataStatistics implements CollectionStatistics, Serializable
Collection related statistics- 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
getFetchCount()
Number of times (since last Statistics clearing) this collection has been fetchedlong
getLoadCount()
Number of times (since last Statistics clearing) this collection has been loadedlong
getRecreateCount()
Number of times (since last Statistics clearing) this collection has been recreated (rows potentially deleted and then rows (re-)inserted)long
getRemoveCount()
Number of times (since last Statistics clearing) this collection has been removedlong
getUpdateCount()
Number of times (since last Statistics clearing) this collection has been updatedString
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
-
getLoadCount
public long getLoadCount()
Description copied from interface:CollectionStatistics
Number of times (since last Statistics clearing) this collection has been loaded- Specified by:
getLoadCount
in interfaceCollectionStatistics
-
getFetchCount
public long getFetchCount()
Description copied from interface:CollectionStatistics
Number of times (since last Statistics clearing) this collection has been fetched- Specified by:
getFetchCount
in interfaceCollectionStatistics
-
getRecreateCount
public long getRecreateCount()
Description copied from interface:CollectionStatistics
Number of times (since last Statistics clearing) this collection has been recreated (rows potentially deleted and then rows (re-)inserted)- Specified by:
getRecreateCount
in interfaceCollectionStatistics
-
getRemoveCount
public long getRemoveCount()
Description copied from interface:CollectionStatistics
Number of times (since last Statistics clearing) this collection has been removed- Specified by:
getRemoveCount
in interfaceCollectionStatistics
-
getUpdateCount
public long getUpdateCount()
Description copied from interface:CollectionStatistics
Number of times (since last Statistics clearing) this collection has been updated- Specified by:
getUpdateCount
in interfaceCollectionStatistics
-
-