Package org.apache.activemq.management
Class JMSProducerStatsImpl
- java.lang.Object
-
- org.apache.activemq.management.StatisticImpl
-
- org.apache.activemq.management.StatsImpl
-
- org.apache.activemq.management.JMSEndpointStatsImpl
-
- org.apache.activemq.management.JMSProducerStatsImpl
-
- All Implemented Interfaces:
Statistic
,Stats
,Resettable
public class JMSProducerStatsImpl extends JMSEndpointStatsImpl
Statistics for a JMS producer
-
-
Field Summary
-
Fields inherited from class org.apache.activemq.management.JMSEndpointStatsImpl
expiredMessageCount, messageCount, messageRateTime, messageWaitTime, pendingMessageCount
-
Fields inherited from class org.apache.activemq.management.StatisticImpl
enabled
-
-
Constructor Summary
Constructors Constructor Description JMSProducerStatsImpl(CountStatisticImpl messageCount, CountStatisticImpl pendingMessageCount, CountStatisticImpl expiredMessageCount, TimeStatisticImpl messageWaitTime, TimeStatisticImpl messageRateTime, String destination)
JMSProducerStatsImpl(JMSSessionStatsImpl sessionStats, Destination destination)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dump(IndentPrinter out)
String
getDestination()
String
toString()
-
Methods inherited from class org.apache.activemq.management.JMSEndpointStatsImpl
getExpiredMessageCount, getMessageCount, getMessageRateTime, getMessageWaitTime, getPendingMessageCount, onMessage, reset, setEnabled, setParent, setParent
-
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
-
-
-
-
Constructor Detail
-
JMSProducerStatsImpl
public JMSProducerStatsImpl(JMSSessionStatsImpl sessionStats, Destination destination)
-
JMSProducerStatsImpl
public JMSProducerStatsImpl(CountStatisticImpl messageCount, CountStatisticImpl pendingMessageCount, CountStatisticImpl expiredMessageCount, TimeStatisticImpl messageWaitTime, TimeStatisticImpl messageRateTime, String destination)
-
-
Method Detail
-
getDestination
public String getDestination()
-
toString
public String toString()
- Overrides:
toString
in classJMSEndpointStatsImpl
-
dump
public void dump(IndentPrinter out)
- Overrides:
dump
in classJMSEndpointStatsImpl
-
-