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 TypeMethodDescriptionlong
Number of times (since last Statistics clearing) this entity has been deletedlong
Number of times (since last Statistics clearing) this entity has been fetchedlong
Number of times (since last Statistics clearing) this entity has been insertedlong
Number of times (since last Statistics clearing) this entity has been loadedlong
Number of times (since last Statistics clearing) this entity has experienced an optimistic lock failure.long
Number 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 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.
-