Class ConnectorStatistics
- java.lang.Object
-
- org.apache.activemq.management.StatisticImpl
-
- org.apache.activemq.management.StatsImpl
-
- org.apache.activemq.broker.region.ConnectorStatistics
-
- All Implemented Interfaces:
Statistic
,Stats
,Resettable
public class ConnectorStatistics extends StatsImpl
The J2EE Statistics for the a Destination.
-
-
Field Summary
Fields Modifier and Type Field Description protected CountStatisticImpl
consumers
protected CountStatisticImpl
dequeues
protected CountStatisticImpl
enqueues
protected CountStatisticImpl
messages
protected PollCountStatisticImpl
messagesCached
-
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled
-
-
Constructor Summary
Constructors Constructor Description ConnectorStatistics()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description CountStatisticImpl
getConsumers()
CountStatisticImpl
getDequeues()
CountStatisticImpl
getEnqueues()
CountStatisticImpl
getMessages()
PollCountStatisticImpl
getMessagesCached()
void
reset()
Reset the statisticvoid
setEnabled(boolean enabled)
void
setMessagesCached(PollCountStatisticImpl messagesCached)
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
-
-
-
-
Field Detail
-
enqueues
protected CountStatisticImpl enqueues
-
dequeues
protected CountStatisticImpl dequeues
-
consumers
protected CountStatisticImpl consumers
-
messages
protected CountStatisticImpl messages
-
messagesCached
protected PollCountStatisticImpl messagesCached
-
-
Method Detail
-
getEnqueues
public CountStatisticImpl getEnqueues()
-
getDequeues
public CountStatisticImpl getDequeues()
-
getConsumers
public CountStatisticImpl getConsumers()
-
getMessagesCached
public PollCountStatisticImpl getMessagesCached()
-
getMessages
public CountStatisticImpl getMessages()
-
reset
public void reset()
Description copied from interface:Resettable
Reset the statistic- Specified by:
reset
in interfaceResettable
- Overrides:
reset
in classStatsImpl
-
setEnabled
public void setEnabled(boolean enabled)
- Overrides:
setEnabled
in classStatisticImpl
- Parameters:
enabled
- the enabled to set
-
setParent
public void setParent(ConnectorStatistics parent)
-
setMessagesCached
public void setMessagesCached(PollCountStatisticImpl messagesCached)
-
-