org.apache.activemq.management
Class JMSConnectionStatsImpl

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

public class JMSConnectionStatsImpl
extends StatsImpl

Statistics for a JMS connection


Field Summary
 
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled
 
Constructor Summary
JMSConnectionStatsImpl(List sessions, boolean transactional)
           
 
Method Summary
 void dump(IndentPrinter out)
           
 JMSSessionStatsImpl[] getSessions()
           
 boolean isTransactional()
           
 void reset()
          Reset the statistic
 void setEnabled(boolean enabled)
           
 String toString()
           
 
Methods inherited from class org.apache.activemq.management.StatsImpl
addStatistic, getStatistic, getStatisticNames, getStatistics
 
Methods inherited from class org.apache.activemq.management.StatisticImpl
appendFieldDescription, getDescription, getLastSampleTime, getName, getStartTime, getUnit, isDoReset, isEnabled, setDoReset, updateSampleTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JMSConnectionStatsImpl

public JMSConnectionStatsImpl(List sessions,
                              boolean transactional)
Method Detail

getSessions

public JMSSessionStatsImpl[] getSessions()

reset

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

Specified by:
reset in interface Resettable
Overrides:
reset in class StatsImpl

setEnabled

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

isTransactional

public boolean isTransactional()

toString

public String toString()
Overrides:
toString in class StatisticImpl

dump

public void dump(IndentPrinter out)


Copyright © 2005-2013 The Apache Software Foundation. All Rights Reserved.