ehcache

net.sf.ehcache.hibernate.management.impl
Class CollectionStats

java.lang.Object
  extended by net.sf.ehcache.hibernate.management.impl.CollectionStats
All Implemented Interfaces:
java.io.Serializable

public class CollectionStats
extends java.lang.Object
implements java.io.Serializable

CollectionStats

Author:
gkeim
See Also:
Serialized Form

Field Summary
protected  long fetchCount
          fetchCount
protected  long loadCount
          loadCount
protected  long recreateCount
          recreateCount
protected  long removeCount
          removeCount
protected  java.lang.String roleName
          roleName
protected  java.lang.String shortName
          shortName
protected  long updateCount
          updateCount
 
Constructor Summary
CollectionStats(javax.management.openmbean.CompositeData cData)
           
CollectionStats(java.lang.String roleName)
           
CollectionStats(java.lang.String name, CollectionStatistics src)
           
 
Method Summary
 void add(CollectionStats stats)
           
static CollectionStats[] fromTabularData(javax.management.openmbean.TabularData tabularData)
          fromTabularData
 long getFetchCount()
          getFetchCount
 long getLoadCount()
          getLoadCount
 long getRecreateCount()
          getRecreateCount
 long getRemoveCount()
          getRemoveCount
 java.lang.String getRoleName()
          getRoleName
 java.lang.String getShortName()
          getShortName
 long getUpdateCount()
          getUpdateCount
static javax.management.openmbean.TabularData newTabularDataInstance()
          newTabularDataInstance
 javax.management.openmbean.CompositeData toCompositeData()
          toCompositeData
 java.lang.String toString()
          toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

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,
                       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:
toString in class java.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


ehcache

true