org.apache.camel.api.management.mbean
Interface ManagedPerformanceCounterMBean

All Superinterfaces:
ManagedCounterMBean
All Known Subinterfaces:
ManagedCamelContextMBean, ManagedDelayerMBean, ManagedIdempotentConsumerMBean, ManagedProcessorMBean, ManagedRouteMBean, ManagedSendProcessorMBean, ManagedSuspendableRouteMBean, ManagedThrottlerMBean
All Known Implementing Classes:
ManagedBeanProcessor, ManagedCamelContext, ManagedDelayer, ManagedIdempotentConsumer, ManagedPerformanceCounter, ManagedProcessor, ManagedRoute, ManagedSendProcessor, ManagedSuspendableRoute, ManagedThrottler

public interface ManagedPerformanceCounterMBean
extends ManagedCounterMBean


Method Summary
 String dumpStatsAsXml(boolean fullStats)
           
 long getExchangesCompleted()
           
 long getExchangesFailed()
           
 long getExternalRedeliveries()
           
 long getFailuresHandled()
           
 String getFirstExchangeCompletedExchangeId()
           
 Date getFirstExchangeCompletedTimestamp()
           
 String getFirstExchangeFailureExchangeId()
           
 Date getFirstExchangeFailureTimestamp()
           
 String getLastExchangeCompletedExchangeId()
           
 Date getLastExchangeCompletedTimestamp()
           
 String getLastExchangeFailureExchangeId()
           
 Date getLastExchangeFailureTimestamp()
           
 long getLastProcessingTime()
           
 long getMaxProcessingTime()
           
 long getMeanProcessingTime()
           
 long getMinProcessingTime()
           
 long getRedeliveries()
           
 long getTotalProcessingTime()
           
 boolean isStatisticsEnabled()
           
 void setStatisticsEnabled(boolean statisticsEnabled)
           
 
Methods inherited from interface org.apache.camel.api.management.mbean.ManagedCounterMBean
getExchangesTotal, reset
 

Method Detail

getExchangesCompleted

@ManagedAttribute(description="Number of completed exchanges")
long getExchangesCompleted()
                           throws Exception
Throws:
Exception

getExchangesFailed

@ManagedAttribute(description="Number of failed exchanges")
long getExchangesFailed()
                        throws Exception
Throws:
Exception

getFailuresHandled

@ManagedAttribute(description="Number of failures handled")
long getFailuresHandled()
                        throws Exception
Throws:
Exception

getRedeliveries

@ManagedAttribute(description="Number of redeliveries (internal only)")
long getRedeliveries()
                     throws Exception
Throws:
Exception

getExternalRedeliveries

@ManagedAttribute(description="Number of external initiated redeliveries (such as from JMS broker)")
long getExternalRedeliveries()
                             throws Exception
Throws:
Exception

getMinProcessingTime

@ManagedAttribute(description="Min Processing Time [milliseconds]")
long getMinProcessingTime()
                          throws Exception
Throws:
Exception

getMeanProcessingTime

@ManagedAttribute(description="Mean Processing Time [milliseconds]")
long getMeanProcessingTime()
                           throws Exception
Throws:
Exception

getMaxProcessingTime

@ManagedAttribute(description="Max Processing Time [milliseconds]")
long getMaxProcessingTime()
                          throws Exception
Throws:
Exception

getTotalProcessingTime

@ManagedAttribute(description="Total Processing Time [milliseconds]")
long getTotalProcessingTime()
                            throws Exception
Throws:
Exception

getLastProcessingTime

@ManagedAttribute(description="Last Processing Time [milliseconds]")
long getLastProcessingTime()
                           throws Exception
Throws:
Exception

getLastExchangeCompletedTimestamp

@ManagedAttribute(description="Last Exchange Completed Timestamp")
Date getLastExchangeCompletedTimestamp()

getLastExchangeCompletedExchangeId

@ManagedAttribute(description="Last Exchange Completed ExchangeId")
String getLastExchangeCompletedExchangeId()

getFirstExchangeCompletedTimestamp

@ManagedAttribute(description="First Exchange Completed Timestamp")
Date getFirstExchangeCompletedTimestamp()

getFirstExchangeCompletedExchangeId

@ManagedAttribute(description="First Exchange Completed ExchangeId")
String getFirstExchangeCompletedExchangeId()

getLastExchangeFailureTimestamp

@ManagedAttribute(description="Last Exchange Failed Timestamp")
Date getLastExchangeFailureTimestamp()

getLastExchangeFailureExchangeId

@ManagedAttribute(description="Last Exchange Failed ExchangeId")
String getLastExchangeFailureExchangeId()

getFirstExchangeFailureTimestamp

@ManagedAttribute(description="First Exchange Failed Timestamp")
Date getFirstExchangeFailureTimestamp()

getFirstExchangeFailureExchangeId

@ManagedAttribute(description="First Exchange Failed ExchangeId")
String getFirstExchangeFailureExchangeId()

isStatisticsEnabled

@ManagedAttribute(description="Statistics enabled")
boolean isStatisticsEnabled()

setStatisticsEnabled

@ManagedAttribute(description="Statistics enabled")
void setStatisticsEnabled(boolean statisticsEnabled)

dumpStatsAsXml

@ManagedOperation(description="Dumps the statistics as XML")
String dumpStatsAsXml(boolean fullStats)


Apache CAMEL