Package org.hibernate.stat.internal
Class SessionStatisticsImpl
java.lang.Object
org.hibernate.stat.internal.SessionStatisticsImpl
- All Implemented Interfaces:
SessionStatistics
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintThe number of collection instances associated with the session.Set<?> The set of allCollectionKeys currently held within the persistence context.intThe number of entity instances associated with the session.Set<?> The set of allEntityKeys currently held within the persistence context.toString()
-
Constructor Details
-
SessionStatisticsImpl
-
-
Method Details
-
getEntityCount
public int getEntityCount()Description copied from interface:SessionStatisticsThe number of entity instances associated with the session.- Specified by:
getEntityCountin interfaceSessionStatistics
-
getCollectionCount
public int getCollectionCount()Description copied from interface:SessionStatisticsThe number of collection instances associated with the session.- Specified by:
getCollectionCountin interfaceSessionStatistics
-
getEntityKeys
Description copied from interface:SessionStatisticsThe set of allEntityKeys currently held within the persistence context.- Specified by:
getEntityKeysin interfaceSessionStatistics
-
getCollectionKeys
Description copied from interface:SessionStatisticsThe set of allCollectionKeys currently held within the persistence context.- Specified by:
getCollectionKeysin interfaceSessionStatistics
-
toString
-