org.apache.camel.management.mbean
Class ManagedCounter
java.lang.Object
org.apache.camel.management.mbean.ManagedCounter
- Direct Known Subclasses:
- ManagedPerformanceCounter
@ManagedResource(description="Managed Counter")
public abstract class ManagedCounter
- extends Object
|
Field Summary |
protected org.fusesource.commons.management.Statistic |
exchangesTotal
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
exchangesTotal
protected org.fusesource.commons.management.Statistic exchangesTotal
ManagedCounter
public ManagedCounter()
init
public void init(ManagementStrategy strategy)
reset
@ManagedOperation(description="Reset counters")
public void reset()
getExchangesTotal
@ManagedAttribute(description="Total number of exchanges")
public long getExchangesTotal()
throws Exception
- Throws:
Exception
increment
public void increment()
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.