org.hibernate.stat

Interface SessionStatistics

Known Implementing Classes:
SessionStatisticsImpl

public interface SessionStatistics

Information about the first-level (session) cache for a particular session instance
Author:
Gavin King

Method Summary

int
getCollectionCount()
Get the number of collection instances associated with the session
Set
getCollectionKeys()
Get the set of all CollectionKeys
int
getEntityCount()
Get the number of entity instances associated with the session
Set
getEntityKeys()
Get the set of all EntityKeys

Method Details

getCollectionCount

public int getCollectionCount()
Get the number of collection instances associated with the session

getCollectionKeys

public Set getCollectionKeys()
Get the set of all CollectionKeys

getEntityCount

public int getEntityCount()
Get the number of entity instances associated with the session

getEntityKeys

public Set getEntityKeys()
Get the set of all EntityKeys