org.terracotta.modules.hibernatecache.jmx
Class CollectionStats

java.lang.Object
  extended by org.terracotta.modules.hibernatecache.jmx.CollectionStats
All Implemented Interfaces:
Serializable

public class CollectionStats
extends Object
implements Serializable

See Also:
Serialized Form

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

Field Detail

roleName

protected final String roleName

shortName

protected final String shortName

loadCount

protected long loadCount

fetchCount

protected long fetchCount

updateCount

protected long updateCount

removeCount

protected long removeCount

recreateCount

protected long recreateCount
Constructor Detail

CollectionStats

public CollectionStats(String roleName)

CollectionStats

public CollectionStats(String name,
                       CollectionStatistics src)

CollectionStats

public CollectionStats(CompositeData cData)
Method Detail

add

public void add(CollectionStats stats)

toString

public String toString()
Overrides:
toString in class Object

getRoleName

public String getRoleName()

getShortName

public String getShortName()

getLoadCount

public long getLoadCount()

getFetchCount

public long getFetchCount()

getUpdateCount

public long getUpdateCount()

getRemoveCount

public long getRemoveCount()

getRecreateCount

public long getRecreateCount()

toCompositeData

public CompositeData toCompositeData()

newTabularDataInstance

public static TabularData newTabularDataInstance()

fromTabularData

public static CollectionStats[] fromTabularData(TabularData tabularData)


Copyright © 2010 Terracotta, Inc.. All Rights Reserved.