Package org.hibernate.stat
Interface SessionStatistics
-
public interface SessionStatisticsInformation about the first-level (session) cache for a particular instance ofSession.
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
getEntityCount
int getEntityCount()
The number of entity instances associated with the session.
-
getCollectionCount
int getCollectionCount()
The number of collection instances associated with the session.
-
getEntityKeys
Set<?> getEntityKeys()
The set of allEntityKeys currently held within the persistence context.
-
getCollectionKeys
Set<?> getCollectionKeys()
The set of allCollectionKeys currently held within the persistence context.
-
-