|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.jboss.management.j2ee.statistics.StatsBase
The base JSR77.6.10 Stats interface base implementation
Constructor Summary | |
StatsBase()
|
|
StatsBase(Map statistics)
|
Method Summary | |
void |
addStatistic(String name,
javax.management.j2ee.statistics.Statistic statistic)
Add or replace Statistic in the Stats collection. |
javax.management.j2ee.statistics.Statistic |
getStatistic(String name)
Access a Statistic by its name. |
String[] |
getStatisticNames()
Access all the Statistics names |
javax.management.j2ee.statistics.Statistic[] |
getStatistics()
Access all the Statistics |
void |
reset()
Reset all StatisticImpl objects |
String |
toString()
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public StatsBase()
public StatsBase(Map statistics)
Method Detail |
public String[] getStatisticNames()
getStatisticNames
in interface javax.management.j2ee.statistics.Stats
public javax.management.j2ee.statistics.Statistic[] getStatistics()
getStatistics
in interface javax.management.j2ee.statistics.Stats
public javax.management.j2ee.statistics.Statistic getStatistic(String name)
getStatistic
in interface javax.management.j2ee.statistics.Stats
name
-
public void reset()
public String toString()
public void addStatistic(String name, javax.management.j2ee.statistics.Statistic statistic)
name
- Name of the Statistic instancestatistic
- Statistic to be added
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |