org.jboss.varia.stats
Class AbstractStatisticalItem
java.lang.Object
org.jboss.varia.stats.AbstractStatisticalItem
- All Implemented Interfaces:
- java.io.Serializable, StatisticalItem (src)
- Direct Known Subclasses:
- CacheListener.ContentionStats (src) , CacheListener.EvictionStats (src) , CacheListener.HitStats (src) , CacheListener.MissStats (src) , TxReport.MethodStats (src) , TxReport.SqlStats (src)
- public abstract class AbstractStatisticalItem
- extends java.lang.Object
- implements StatisticalItem (src)
- See Also:
- Serialized Form
Field Summary |
protected java.lang.String |
name
|
protected java.lang.String |
value
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
name
protected final java.lang.String name
value
protected java.lang.String value
AbstractStatisticalItem
public AbstractStatisticalItem(java.lang.String name)
getName
public java.lang.String getName()
- Specified by:
getName
in interface StatisticalItem (src)
getValue
public java.lang.String getValue()
- Specified by:
getValue
in interface StatisticalItem (src)
getMinCountPerTx
public int getMinCountPerTx()
- Specified by:
getMinCountPerTx
in interface StatisticalItem (src)
getMaxCountPerTx
public int getMaxCountPerTx()
- Specified by:
getMaxCountPerTx
in interface StatisticalItem (src)
getCount
public int getCount()
- Specified by:
getCount
in interface StatisticalItem (src)
add
public void add(StatisticalItem (src) item)
- Specified by:
add
in interface StatisticalItem (src)
merge
public void merge(StatisticalItem (src) item)
- Specified by:
merge
in interface StatisticalItem (src)
mergeNull
public void mergeNull()
- Specified by:
mergeNull
in interface StatisticalItem (src)
getMergedItemsTotal
public int getMergedItemsTotal()
- Specified by:
getMergedItemsTotal
in interface StatisticalItem (src)