org.codehaus.activemq.management
Class StatsImpl

java.lang.Object
  extended byorg.codehaus.activemq.management.StatsImpl
All Implemented Interfaces:
Resettable, Stats
Direct Known Subclasses:
JCAConnectionStatsImpl, JCAStatsImpl, JMSConnectionStatsImpl, JMSEndpointStatsImpl, JMSSessionStatsImpl, JMSStatsImpl

public class StatsImpl
extends Object
implements Stats, Resettable

Base class for a Stats implementation

Version:
$Revision: 1.2 $

Constructor Summary
StatsImpl()
           
StatsImpl(Map map)
           
 
Method Summary
protected  void addStatistic(String name, Statistic statistic)
           
 Statistic getStatistic(String name)
           
 String[] getStatisticNames()
           
 Statistic[] getStatistics()
           
 void reset()
          Reset the statistic
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

StatsImpl

public StatsImpl()

StatsImpl

public StatsImpl(Map map)
Method Detail

reset

public void reset()
Description copied from interface: Resettable
Reset the statistic

Specified by:
reset in interface Resettable

getStatistic

public Statistic getStatistic(String name)
Specified by:
getStatistic in interface Stats

getStatisticNames

public String[] getStatisticNames()
Specified by:
getStatisticNames in interface Stats

getStatistics

public Statistic[] getStatistics()
Specified by:
getStatistics in interface Stats

addStatistic

protected void addStatistic(String name,
                            Statistic statistic)


Copyright © 2004 Protique, Ltd.. All Rights Reserved.