org.hibernate.stat
Class SessionStatisticsImpl

java.lang.Object
  extended by org.hibernate.stat.SessionStatisticsImpl
All Implemented Interfaces:
SessionStatistics

public class SessionStatisticsImpl
extends Object
implements SessionStatistics

Author:
Gavin King

Constructor Summary
SessionStatisticsImpl(SessionImplementor session)
           
 
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
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionStatisticsImpl

public SessionStatisticsImpl(SessionImplementor session)
Method Detail

getEntityCount

public int getEntityCount()
Description copied from interface: SessionStatistics
Get the number of entity instances associated with the session

Specified by:
getEntityCount in interface SessionStatistics

getCollectionCount

public int getCollectionCount()
Description copied from interface: SessionStatistics
Get the number of collection instances associated with the session

Specified by:
getCollectionCount in interface SessionStatistics

getEntityKeys

public Set getEntityKeys()
Description copied from interface: SessionStatistics
Get the set of all EntityKeys

Specified by:
getEntityKeys in interface SessionStatistics
See Also:
EntityKey

getCollectionKeys

public Set getCollectionKeys()
Description copied from interface: SessionStatistics
Get the set of all CollectionKeys

Specified by:
getCollectionKeys in interface SessionStatistics
See Also:
CollectionKey

toString

public String toString()
Overrides:
toString in class Object