Class CollectionStats
- java.lang.Object
-
- net.sf.ehcache.hibernate.management.impl.CollectionStats
-
- All Implemented Interfaces:
java.io.Serializable
public class CollectionStats extends java.lang.Object implements java.io.SerializableCollectionStats- Author:
- gkeim
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description protected longfetchCountfetchCountprotected longloadCountloadCountprotected longrecreateCountrecreateCountprotected longremoveCountremoveCountprotected java.lang.StringroleNameroleNameprotected java.lang.StringshortNameshortNameprotected longupdateCountupdateCount
-
Constructor Summary
Constructors Constructor Description CollectionStats(java.lang.String roleName)CollectionStats(java.lang.String name, org.hibernate.stat.CollectionStatistics src)CollectionStats(javax.management.openmbean.CompositeData cData)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(CollectionStats stats)static CollectionStats[]fromTabularData(javax.management.openmbean.TabularData tabularData)fromTabularDatalonggetFetchCount()getFetchCountlonggetLoadCount()getLoadCountlonggetRecreateCount()getRecreateCountlonggetRemoveCount()getRemoveCountjava.lang.StringgetRoleName()getRoleNamejava.lang.StringgetShortName()getShortNamelonggetUpdateCount()getUpdateCountstatic javax.management.openmbean.TabularDatanewTabularDataInstance()newTabularDataInstancejavax.management.openmbean.CompositeDatatoCompositeData()toCompositeDatajava.lang.StringtoString()toString
-
-
-
Field Detail
-
roleName
protected final java.lang.String roleName
roleName
-
shortName
protected final java.lang.String shortName
shortName
-
loadCount
protected long loadCount
loadCount
-
fetchCount
protected long fetchCount
fetchCount
-
updateCount
protected long updateCount
updateCount
-
removeCount
protected long removeCount
removeCount
-
recreateCount
protected long recreateCount
recreateCount
-
-
Constructor Detail
-
CollectionStats
public CollectionStats(java.lang.String roleName)
- Parameters:
roleName-
-
CollectionStats
public CollectionStats(java.lang.String name, org.hibernate.stat.CollectionStatistics src)- Parameters:
name-src-
-
CollectionStats
public CollectionStats(javax.management.openmbean.CompositeData cData)
- Parameters:
cData-
-
-
Method Detail
-
add
public void add(CollectionStats stats)
- Parameters:
stats-
-
toString
public java.lang.String toString()
toString- Overrides:
toStringin classjava.lang.Object
-
getRoleName
public java.lang.String getRoleName()
getRoleName
-
getShortName
public java.lang.String getShortName()
getShortName
-
getLoadCount
public long getLoadCount()
getLoadCount
-
getFetchCount
public long getFetchCount()
getFetchCount
-
getUpdateCount
public long getUpdateCount()
getUpdateCount
-
getRemoveCount
public long getRemoveCount()
getRemoveCount
-
getRecreateCount
public long getRecreateCount()
getRecreateCount
-
toCompositeData
public javax.management.openmbean.CompositeData toCompositeData()
toCompositeData
-
newTabularDataInstance
public static javax.management.openmbean.TabularData newTabularDataInstance()
newTabularDataInstance
-
fromTabularData
public static CollectionStats[] fromTabularData(javax.management.openmbean.TabularData tabularData)
fromTabularData
-
-