Top Description Fields Constructors Methods
org.hibernate.stat.internal

public Class EntityStatisticsImpl

extends AbstractCacheableDataStatistics
implements EntityStatistics, Serializable
Class Inheritance
All Implemented Interfaces
java.io.Serializable, org.hibernate.stat.EntityStatistics, org.hibernate.stat.CacheableDataStatistics
Imports
java.io.Serializable, java.util.concurrent.atomic.LongAdder, org.hibernate.persister.entity.EntityPersister, org.hibernate.stat.EntityStatistics

Entity related statistics
Author
Alex Snaps

Field Summary

Modifier and TypeField and Description
private final LongAdder
private final LongAdder
private final LongAdder
private final LongAdder
private final LongAdder
private final String
private final LongAdder

Constructor Summary

AccessConstructor and Description
pack-priv
EntityStatisticsImpl(EntityPersister rootEntityDescriptor)

Method Summary

Modifier and TypeMethod and Description
public long
getDeleteCount()

Implements org.hibernate.stat.EntityStatistics.getDeleteCount.

Number of times (since last Statistics clearing) this entity has been deleted
public long
getFetchCount()

Implements org.hibernate.stat.EntityStatistics.getFetchCount.

Number of times (since last Statistics clearing) this entity has been fetched
public long
getInsertCount()

Implements org.hibernate.stat.EntityStatistics.getInsertCount.

Number of times (since last Statistics clearing) this entity has been inserted
public long
getLoadCount()

Implements org.hibernate.stat.EntityStatistics.getLoadCount.

Number of times (since last Statistics clearing) this entity has been loaded
public long
getOptimisticFailureCount()

Implements org.hibernate.stat.EntityStatistics.getOptimisticFailureCount.

Number of times (since last Statistics clearing) this entity has experienced an optimistic lock failure.
public long
getUpdateCount()

Implements org.hibernate.stat.EntityStatistics.getUpdateCount.

Number of times (since last Statistics clearing) this entity has been updated
pack-priv void
pack-priv void
pack-priv void
pack-priv void
pack-priv void
pack-priv void
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from org.hibernate.stat.internal.AbstractCacheableDataStatistics:
appendCacheStatsgetCacheHitCountgetCacheMissCountgetCachePutCountgetCacheRegionNameincrementCacheHitCountincrementCacheMissCountincrementCachePutCount

Field Detail

deleteCountback to summary
private final LongAdder deleteCount
fetchCountback to summary
private final LongAdder fetchCount
insertCountback to summary
private final LongAdder insertCount
loadCountback to summary
private final LongAdder loadCount
optimisticFailureCountback to summary
private final LongAdder optimisticFailureCount
rootEntityNameback to summary
private final String rootEntityName
updateCountback to summary
private final LongAdder updateCount

Constructor Detail

EntityStatisticsImplback to summary
pack-priv EntityStatisticsImpl(EntityPersister rootEntityDescriptor)

Method Detail

getDeleteCountback to summary
public long getDeleteCount()

Implements org.hibernate.stat.EntityStatistics.getDeleteCount.

Doc from org.hibernate.stat.EntityStatistics.getDeleteCount.

Number of times (since last Statistics clearing) this entity has been deleted

getFetchCountback to summary
public long getFetchCount()

Implements org.hibernate.stat.EntityStatistics.getFetchCount.

Doc from org.hibernate.stat.EntityStatistics.getFetchCount.

Number of times (since last Statistics clearing) this entity has been fetched

getInsertCountback to summary
public long getInsertCount()

Implements org.hibernate.stat.EntityStatistics.getInsertCount.

Doc from org.hibernate.stat.EntityStatistics.getInsertCount.

Number of times (since last Statistics clearing) this entity has been inserted

getLoadCountback to summary
public long getLoadCount()

Implements org.hibernate.stat.EntityStatistics.getLoadCount.

Doc from org.hibernate.stat.EntityStatistics.getLoadCount.

Number of times (since last Statistics clearing) this entity has been loaded

getOptimisticFailureCountback to summary
public long getOptimisticFailureCount()

Implements org.hibernate.stat.EntityStatistics.getOptimisticFailureCount.

Doc from org.hibernate.stat.EntityStatistics.getOptimisticFailureCount.

Number of times (since last Statistics clearing) this entity has experienced an optimistic lock failure.

getUpdateCountback to summary
public long getUpdateCount()

Implements org.hibernate.stat.EntityStatistics.getUpdateCount.

Doc from org.hibernate.stat.EntityStatistics.getUpdateCount.

Number of times (since last Statistics clearing) this entity has been updated

incrementDeleteCountback to summary
pack-priv void incrementDeleteCount()
incrementFetchCountback to summary
pack-priv void incrementFetchCount()
incrementInsertCountback to summary
pack-priv void incrementInsertCount()
incrementLoadCountback to summary
pack-priv void incrementLoadCount()
incrementOptimisticFailureCountback to summary
pack-priv void incrementOptimisticFailureCount()
incrementUpdateCountback to summary
pack-priv void incrementUpdateCount()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.