站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBoss 4.0.1 sp1 varia API Documentation 英文版文档

AbstractStatisticalItem (Various API) - JBoss 4.0.1 sp1 varia API Documentation 英文版文档


org.jboss.varia.stats
Class AbstractStatisticalItem

java.lang.Object
  extended byorg.jboss.varia.stats.AbstractStatisticalItem
All Implemented Interfaces:
Serializable, StatisticalItem
Direct Known Subclasses:
CacheListener.ContentionStats, CacheListener.EvictionStats, CacheListener.HitStats, CacheListener.MissStats, TxReport.MethodStats, TxReport.SqlStats

public abstract class AbstractStatisticalItem
extends Object
implements StatisticalItem

Version:
$Revision: 1.2 $
Author:
Alexey Loubyansky
See Also:
Serialized Form

Field Summary
protected  String name
           
protected  String value
           
 
Constructor Summary
AbstractStatisticalItem(String name)
           
 
Method Summary
 void add(StatisticalItem item)
           
 int getCount()
           
 int getMaxCountPerTx()
           
 int getMergedItemsTotal()
           
 int getMinCountPerTx()
           
 String getName()
           
 String getValue()
           
 void merge(StatisticalItem item)
           
 void mergeNull()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected final String name

value

protected String value
Constructor Detail

AbstractStatisticalItem

public AbstractStatisticalItem(String name)
Method Detail

getName

public String getName()
Specified by:
getName in interface StatisticalItem

getValue

public String getValue()
Specified by:
getValue in interface StatisticalItem

getMinCountPerTx

public int getMinCountPerTx()
Specified by:
getMinCountPerTx in interface StatisticalItem

getMaxCountPerTx

public int getMaxCountPerTx()
Specified by:
getMaxCountPerTx in interface StatisticalItem

getCount

public int getCount()
Specified by:
getCount in interface StatisticalItem

add

public void add(StatisticalItem item)
Specified by:
add in interface StatisticalItem

merge

public void merge(StatisticalItem item)
Specified by:
merge in interface StatisticalItem

mergeNull

public void mergeNull()
Specified by:
mergeNull in interface StatisticalItem

getMergedItemsTotal

public int getMergedItemsTotal()
Specified by:
getMergedItemsTotal in interface StatisticalItem


Copyright © 2002 JBoss Group, LLC. All Rights Reserved.