Methods Summary |
---|
public int | getCollectionCount()
return session.getPersistenceContext().getCollectionEntries().size();
|
public java.util.Set | getCollectionKeys()
return Collections.unmodifiableSet( session.getPersistenceContext().getCollectionsByKey().keySet() );
|
public int | getEntityCount()
return session.getPersistenceContext().getEntityEntries().size();
|
public java.util.Set | getEntityKeys()
return Collections.unmodifiableSet( session.getPersistenceContext().getEntitiesByKey().keySet() );
|
public java.lang.String | toString()
return new StringBuffer()
.append("SessionStatistics[")
.append("entity count=").append( getEntityCount() )
.append("collection count=").append( getCollectionCount() )
.append(']")
.toString();
|