public class SessionStatisticsImpl extends Object implements SessionStatistics
Constructor and Description |
---|
SessionStatisticsImpl(SessionImplementor session) |
Modifier and Type | Method and Description |
---|---|
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() |
public SessionStatisticsImpl(SessionImplementor session)
public int getEntityCount()
SessionStatistics
getEntityCount
in interface SessionStatistics
public int getCollectionCount()
SessionStatistics
getCollectionCount
in interface SessionStatistics
public Set getEntityKeys()
SessionStatistics
getEntityKeys
in interface SessionStatistics
EntityKey
public Set getCollectionKeys()
SessionStatistics
getCollectionKeys
in interface SessionStatistics
CollectionKey
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.