org.apache.activemq.broker.region
Class ConnectionStatistics

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

public class ConnectionStatistics
extends StatsImpl

The J2EE Statistics for the Connection.


Field Summary
 
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled
 
Constructor Summary
ConnectionStatistics()
           
 
Method Summary
 CountStatisticImpl getDequeues()
           
 CountStatisticImpl getEnqueues()
           
 void reset()
          Reset the statistic
 void setEnabled(boolean enabled)
           
 void setParent(ConnectorStatistics parent)
           
 
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, toString, updateSampleTime
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConnectionStatistics

public ConnectionStatistics()
Method Detail

getEnqueues

public CountStatisticImpl getEnqueues()

getDequeues

public CountStatisticImpl getDequeues()

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

setParent

public void setParent(ConnectorStatistics parent)


Copyright © 2005–2013 The Apache Software Foundation. All rights reserved.