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_COUNTMethod 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
Method Details
getDeleteCount
long getDeleteCount()Number of times (since last Statistics clearing) this entity has been deletedgetInsertCount
long getInsertCount()Number of times (since last Statistics clearing) this entity has been insertedgetUpdateCount
long getUpdateCount()Number of times (since last Statistics clearing) this entity has been updatedgetLoadCount
long getLoadCount()Number of times (since last Statistics clearing) this entity has been loadedgetFetchCount
long getFetchCount()Number of times (since last Statistics clearing) this entity has been fetchedgetOptimisticFailureCount
long getOptimisticFailureCount()Number of times (since last Statistics clearing) this entity has experienced an optimistic lock failure.