Package org.hibernate.stat.internal
Class EntityStatisticsImpl
- java.lang.Object
-
- org.hibernate.stat.internal.AbstractCacheableDataStatistics
-
- org.hibernate.stat.internal.EntityStatisticsImpl
-
- All Implemented Interfaces:
Serializable
,CacheableDataStatistics
,EntityStatistics
public class EntityStatisticsImpl extends AbstractCacheableDataStatistics implements EntityStatistics, Serializable
Entity 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
getDeleteCount()
Number of times (since last Statistics clearing) this entity has been deletedlong
getFetchCount()
Number of times (since last Statistics clearing) this entity has been fetchedlong
getInsertCount()
Number of times (since last Statistics clearing) this entity has been insertedlong
getLoadCount()
Number of times (since last Statistics clearing) this entity has been loadedlong
getOptimisticFailureCount()
Number of times (since last Statistics clearing) this entity has experienced an optimistic lock failure.long
getUpdateCount()
Number of times (since last Statistics clearing) this entity 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
-
getDeleteCount
public long getDeleteCount()
Description copied from interface:EntityStatistics
Number of times (since last Statistics clearing) this entity has been deleted- Specified by:
getDeleteCount
in interfaceEntityStatistics
-
getInsertCount
public long getInsertCount()
Description copied from interface:EntityStatistics
Number of times (since last Statistics clearing) this entity has been inserted- Specified by:
getInsertCount
in interfaceEntityStatistics
-
getLoadCount
public long getLoadCount()
Description copied from interface:EntityStatistics
Number of times (since last Statistics clearing) this entity has been loaded- Specified by:
getLoadCount
in interfaceEntityStatistics
-
getUpdateCount
public long getUpdateCount()
Description copied from interface:EntityStatistics
Number of times (since last Statistics clearing) this entity has been updated- Specified by:
getUpdateCount
in interfaceEntityStatistics
-
getFetchCount
public long getFetchCount()
Description copied from interface:EntityStatistics
Number of times (since last Statistics clearing) this entity has been fetched- Specified by:
getFetchCount
in interfaceEntityStatistics
-
getOptimisticFailureCount
public long getOptimisticFailureCount()
Description copied from interface:EntityStatistics
Number of times (since last Statistics clearing) this entity has experienced an optimistic lock failure.- Specified by:
getOptimisticFailureCount
in interfaceEntityStatistics
-
-