org.apache.camel.management
Class PerformanceCounter
java.lang.Object
org.apache.camel.management.Counter
org.apache.camel.management.PerformanceCounter
- Direct Known Subclasses:
- ManagedRoute
@ManagedResource(description="PerformanceCounter",
currencyTimeLimit=15)
public class PerformanceCounter
- extends Counter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PerformanceCounter
public PerformanceCounter()
reset
@ManagedOperation(description="Reset counters")
public void reset()
- Overrides:
reset
in class Counter
getNumCompleted
@ManagedAttribute(description="Number of successful exchanges")
public long getNumCompleted()
throws Exception
- Throws:
Exception
getNumFailed
@ManagedAttribute(description="Number of failed exchanges")
public long getNumFailed()
throws Exception
- Throws:
Exception
getMinProcessingTime
@ManagedAttribute(description="Min Processing Time [usec]")
public long getMinProcessingTime()
throws Exception
- Throws:
Exception
getMeanProcessingTime
@ManagedAttribute(description="Mean Processing Time [usec]")
public long getMeanProcessingTime()
throws Exception
- Throws:
Exception
getMaxProcessingTime
@ManagedAttribute(description="Max Processing Time [usec]")
public long getMaxProcessingTime()
throws Exception
- Throws:
Exception
completedExchange
public void completedExchange(long time)
completedExchange
public void completedExchange()
Copyright © 2008 IONA Open Source Community. All Rights Reserved.