Top Fields Constructors Methods
org.hibernate.stat.internal

public Class SessionStatisticsImpl

extends Object
implements SessionStatistics
Class Inheritance
All Implemented Interfaces
org.hibernate.stat.SessionStatistics
Imports
java.util.Collections, .Set, org.hibernate.engine.spi.SessionImplementor, org.hibernate.stat.SessionStatistics

Author
Gavin King

Field Summary

Modifier and TypeField and Description
private final SessionImplementor

Constructor Summary

AccessConstructor and Description
public

Method Summary

Modifier and TypeMethod and Description
public int
getCollectionCount()

Implements org.hibernate.stat.SessionStatistics.getCollectionCount.

The number of collection instances associated with the session.
public Set<?>
getCollectionKeys()

Implements org.hibernate.stat.SessionStatistics.getCollectionKeys.

The set of all org.hibernate.engine.spi.CollectionKeys currently held within the persistence context.
public int
getEntityCount()

Implements org.hibernate.stat.SessionStatistics.getEntityCount.

The number of entity instances associated with the session.
public Set<?>
getEntityKeys()

Implements org.hibernate.stat.SessionStatistics.getEntityKeys.

The set of all org.hibernate.engine.spi.EntityKeys currently held within the persistence context.
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

sessionback to summary
private final SessionImplementor session

Constructor Detail

SessionStatisticsImplback to summary
public SessionStatisticsImpl(SessionImplementor session)

Method Detail

getCollectionCountback to summary
public int getCollectionCount()

Implements org.hibernate.stat.SessionStatistics.getCollectionCount.

Doc from org.hibernate.stat.SessionStatistics.getCollectionCount.

The number of collection instances associated with the session.

getCollectionKeysback to summary
public Set<?> getCollectionKeys()

Implements org.hibernate.stat.SessionStatistics.getCollectionKeys.

Doc from org.hibernate.stat.SessionStatistics.getCollectionKeys.

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

getEntityCountback to summary
public int getEntityCount()

Implements org.hibernate.stat.SessionStatistics.getEntityCount.

Doc from org.hibernate.stat.SessionStatistics.getEntityCount.

The number of entity instances associated with the session.

getEntityKeysback to summary
public Set<?> getEntityKeys()

Implements org.hibernate.stat.SessionStatistics.getEntityKeys.

Doc from org.hibernate.stat.SessionStatistics.getEntityKeys.

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

toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.