Package org.hibernate.stat.internal
Class SessionStatisticsImpl
- java.lang.Object
-
- org.hibernate.stat.internal.SessionStatisticsImpl
-
- All Implemented Interfaces:
SessionStatistics
public class SessionStatisticsImpl extends Object implements SessionStatistics
-
-
Constructor Summary
Constructors Constructor Description SessionStatisticsImpl(SessionImplementor session)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCollectionCount()The number of collection instances associated with the session.Set<?>getCollectionKeys()The set of allCollectionKeys currently held within the persistence context.intgetEntityCount()The number of entity instances associated with the session.Set<?>getEntityKeys()The set of allEntityKeys currently held within the persistence context.StringtoString()
-
-
-
Constructor Detail
-
SessionStatisticsImpl
public SessionStatisticsImpl(SessionImplementor session)
-
-
Method Detail
-
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
public Set<?> getEntityKeys()
Description copied from interface:SessionStatisticsThe set of allEntityKeys currently held within the persistence context.- Specified by:
getEntityKeysin interfaceSessionStatistics
-
getCollectionKeys
public Set<?> getCollectionKeys()
Description copied from interface:SessionStatisticsThe set of allCollectionKeys currently held within the persistence context.- Specified by:
getCollectionKeysin interfaceSessionStatistics
-
-