org.apache.servicemix.jbi.monitoring
Interface ComponentStatsMBean

All Known Implementing Classes:
ComponentStats

public interface ComponentStatsMBean

Defines basic operations on the Compomnent


Method Summary
 long getInboundExchangeCount()
          Get the Inbound MessageExchange count
 double getInboundExchangeRate()
          Get the Inbound MessageExchange rate (number/sec)
 int getInboundQueueSize()
           
 long getOutboundExchangeCount()
          Get the Outbound MessageExchange count
 double getOutboundExchangeRate()
          Get the Outbound MessageExchange rate (number/sec)
 void reset()
          reset all stats counters
 

Method Detail

getInboundExchangeCount

long getInboundExchangeCount()
Get the Inbound MessageExchange count

Returns:
inbound count

getInboundExchangeRate

double getInboundExchangeRate()
Get the Inbound MessageExchange rate (number/sec)

Returns:
the inbound exchange rate

getOutboundExchangeCount

long getOutboundExchangeCount()
Get the Outbound MessageExchange count

Returns:
outbound count

getOutboundExchangeRate

double getOutboundExchangeRate()
Get the Outbound MessageExchange rate (number/sec)

Returns:
the outbound exchange rate

getInboundQueueSize

int getInboundQueueSize()
Returns:
size of the inbound Queue

reset

void reset()
reset all stats counters



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