Package org.hibernate.stat
Interface EntityStatistics
- All Superinterfaces:
CacheableDataStatistics,Serializable
- All Known Implementing Classes:
EntityStatisticsImpl
Entity-related statistics.
-
Field Summary
Fields inherited from interface org.hibernate.stat.CacheableDataStatistics
NOT_CACHED_COUNT -
Method Summary
Modifier and TypeMethodDescriptionlongNumber of times (since last Statistics clearing) this entity has been deletedlongNumber of times (since last Statistics clearing) this entity has been fetchedlongNumber of times (since last Statistics clearing) this entity has been insertedlongNumber of times (since last Statistics clearing) this entity has been loadedlongNumber of times (since last Statistics clearing) this entity has experienced an optimistic lock failure.longNumber of times (since last Statistics clearing) this entity has been updatedMethods inherited from interface org.hibernate.stat.CacheableDataStatistics
getCacheHitCount, getCacheMissCount, getCachePutCount, getCacheRegionName, getCacheRemoveCount
-
Method Details
-
getDeleteCount
long getDeleteCount()Number of times (since last Statistics clearing) this entity has been deleted -
getInsertCount
long getInsertCount()Number of times (since last Statistics clearing) this entity has been inserted -
getUpdateCount
long getUpdateCount()Number of times (since last Statistics clearing) this entity has been updated -
getLoadCount
long getLoadCount()Number of times (since last Statistics clearing) this entity has been loaded -
getFetchCount
long getFetchCount()Number of times (since last Statistics clearing) this entity has been fetched -
getOptimisticFailureCount
long getOptimisticFailureCount()Number of times (since last Statistics clearing) this entity has experienced an optimistic lock failure.
-