站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > Hibernate 3.2.3 正式版 API 英文文档

SessionStatisticsImpl (Hibernate API Documentation) - Hibernate 3.2.3 正式版 API 英文文档


org.hibernate.stat
Class SessionStatisticsImpl

java.lang.Object
  extended byorg.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()