Top Description Methods
org.hibernate.stat

public Interface SessionStatistics

Known Direct Implementers
org.hibernate.stat.internal.SessionStatisticsImpl
Imports
java.util.Set

Information about the first-level (session) cache for a particular instance of org.hibernate.Session.
Author
Gavin King

Method Summary

Modifier and TypeMethod and Description
public int
getCollectionCount()

The number of collection instances associated with the session.

public Set<?>
getCollectionKeys()

The set of all org.hibernate.engine.spi.CollectionKeys currently held within the persistence context.

public int
getEntityCount()

The number of entity instances associated with the session.

public Set<?>
getEntityKeys()

The set of all org.hibernate.engine.spi.EntityKeys currently held within the persistence context.

Method Detail

getCollectionCountback to summary
public int getCollectionCount()

The number of collection instances associated with the session.

getCollectionKeysback to summary
public Set<?> getCollectionKeys()

The set of all org.hibernate.engine.spi.CollectionKeys currently held within the persistence context.

getEntityCountback to summary
public int getEntityCount()

The number of entity instances associated with the session.

getEntityKeysback to summary
public Set<?> getEntityKeys()

The set of all org.hibernate.engine.spi.EntityKeys currently held within the persistence context.