org.apache.servicemix.jbi.monitoring
Class MessagingStats
java.lang.Object
org.apache.servicemix.jbi.monitoring.stats.StatisticImpl
org.apache.servicemix.jbi.monitoring.stats.StatsImpl
org.apache.servicemix.jbi.monitoring.MessagingStats
- All Implemented Interfaces:
- Statistic, Stats, Resettable
public class MessagingStats
- extends StatsImpl
Basic J2EE stats for the messaging in the NMR
- Version:
- $Revision: 564607 $
inboundExchanges
protected CountStatisticImpl inboundExchanges
outboundExchanges
protected CountStatisticImpl outboundExchanges
inboundExchangeRate
protected TimeStatisticImpl inboundExchangeRate
outboundExchangeRate
protected TimeStatisticImpl outboundExchangeRate
MessagingStats
public MessagingStats(String name)
- Default Constructor
- Parameters:
name -
MessagingStats
public MessagingStats(String name,
MessagingStats parent)
- Default Constructor
- Parameters:
name -
getName
public String getName()
- Specified by:
getName in interface Statistic- Overrides:
getName in class StatisticImpl
- Returns:
- Returns the name.
getInboundExchangeRate
public TimeStatisticImpl getInboundExchangeRate()
- Returns:
- Returns the inboundExchangeRate.
getInboundExchanges
public CountStatisticImpl getInboundExchanges()
- Returns:
- Returns the inboundExchanges.
getOutboundExchangeRate
public TimeStatisticImpl getOutboundExchangeRate()
- Returns:
- Returns the outboundExchangeRate.
getOutboundExchanges
public CountStatisticImpl getOutboundExchanges()
- Returns:
- Returns the outboundExchanges.
reset
public void reset()
- reset the Stats
- Specified by:
reset in interface Resettable- Overrides:
reset in class StatsImpl
toString
public String toString()
- Overrides:
toString in class StatisticImpl
- Returns:
- pretty print
dump
public void dump(IndentPrinter out)
- Dump out to an IndentPrinter
- Parameters:
out -
Copyright © 2005-2008 Apache Software Foundation. All Rights Reserved.