Package org.hibernate.stat.internal
Class SessionStatisticsImpl
java.lang.Object
org.hibernate.stat.internal.SessionStatisticsImpl
- All Implemented Interfaces:
SessionStatistics
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionint
The number of collection instances associated with the session.Set<?>
The set of allCollectionKey
s currently held within the persistence context.int
The number of entity instances associated with the session.Set<?>
The set of allEntityKey
s currently held within the persistence context.toString()
-
Constructor Details
-
SessionStatisticsImpl
-
-
Method Details
-
getEntityCount
public int getEntityCount()Description copied from interface:SessionStatistics
The number of entity instances associated with the session.- Specified by:
getEntityCount
in interfaceSessionStatistics
-
getCollectionCount
public int getCollectionCount()Description copied from interface:SessionStatistics
The number of collection instances associated with the session.- Specified by:
getCollectionCount
in interfaceSessionStatistics
-
getEntityKeys
Description copied from interface:SessionStatistics
The set of allEntityKey
s currently held within the persistence context.- Specified by:
getEntityKeys
in interfaceSessionStatistics
-
getCollectionKeys
Description copied from interface:SessionStatistics
The set of allCollectionKey
s currently held within the persistence context.- Specified by:
getCollectionKeys
in interfaceSessionStatistics
-
toString
-