org.apache.activemq.management
Class JMSStatsImpl

java.lang.Object
  extended by org.apache.activemq.management.StatisticImpl
      extended by org.apache.activemq.management.StatsImpl
          extended by org.apache.activemq.management.JMSStatsImpl
All Implemented Interfaces:
Statistic, Stats, Resettable

public class JMSStatsImpl
extends StatsImpl

Statistics for a number of JMS connections

Version:
$Revision: 1.2 $

Field Summary
 
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled
 
Constructor Summary
JMSStatsImpl()
           
 
Method Summary
 void addConnection(ActiveMQConnection connection)
           
 void dump(IndentPrinter out)
           
 JMSConnectionStatsImpl[] getConnections()
           
 void removeConnection(ActiveMQConnection connection)
           
 void setEnabled(boolean enabled)
           
 
Methods inherited from class org.apache.activemq.management.StatsImpl
addStatistic, getStatistic, getStatisticNames, getStatistics, reset
 
Methods inherited from class org.apache.activemq.management.StatisticImpl
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, toString, updateSampleTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMSStatsImpl

public JMSStatsImpl()
Method Detail

getConnections

public JMSConnectionStatsImpl[] getConnections()

addConnection

public void addConnection(ActiveMQConnection connection)

removeConnection

public void removeConnection(ActiveMQConnection connection)

dump

public void dump(IndentPrinter out)

setEnabled

public void setEnabled(boolean enabled)
Overrides:
setEnabled in class StatisticImpl
Parameters:
enabled - the enabled to set


Copyright © 2009. All Rights Reserved.