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
session

Deprecated as a consequence of SessionImplementor being deprecated.

Constructor Summary

AccessConstructor and Description
public
SessionStatisticsImpl(SessionImplementor session)

Deprecated as a consequence of SessionImplementor being deprecated.

Method Summary

Modifier and TypeMethod and Description
public int
getCollectionCount()

Implements org.hibernate.stat.SessionStatistics.getCollectionCount.

Get the number of collection instances associated with the session
public Set<E>
getCollectionKeys()

Implements org.hibernate.stat.SessionStatistics.getCollectionKeys.

Get the set of all CollectionKeys
public int
getEntityCount()

Implements org.hibernate.stat.SessionStatistics.getEntityCount.

Get the number of entity instances associated with the session
public Set<E>
getEntityKeys()

Implements org.hibernate.stat.SessionStatistics.getEntityKeys.

Get the set of all EntityKeys
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

Deprecated

as a consequence of SessionImplementor being deprecated. See corresponding docs for further information.

Constructor Detail

SessionStatisticsImplback to summary
public SessionStatisticsImpl(SessionImplementor session)

Deprecated

as a consequence of SessionImplementor being deprecated. See corresponding docs for further information.

Method Detail

getCollectionCountback to summary
public int getCollectionCount()

Implements org.hibernate.stat.SessionStatistics.getCollectionCount.

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

Get the number of collection instances associated with the session

getCollectionKeysback to summary
public Set<E> getCollectionKeys()

Implements org.hibernate.stat.SessionStatistics.getCollectionKeys.

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

Get the set of all CollectionKeys

getEntityCountback to summary
public int getEntityCount()

Implements org.hibernate.stat.SessionStatistics.getEntityCount.

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

Get the number of entity instances associated with the session

getEntityKeysback to summary
public Set<E> getEntityKeys()

Implements org.hibernate.stat.SessionStatistics.getEntityKeys.

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

Get the set of all EntityKeys

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.