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

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


org.hibernate.stat
Interface SessionStatistics

All 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 Detail

getEntityCount

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


getCollectionCount

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


getEntityKeys

public Set getEntityKeys()
Get the set of all EntityKeys

See Also:
EntityKey

getCollectionKeys

public Set getCollectionKeys()
Get the set of all CollectionKeys

See Also:
CollectionKey