org.apache.camel.management.mbean
Class ManagedCounter

java.lang.Object
  extended by org.apache.camel.management.mbean.ManagedCounter
All Implemented Interfaces:
ManagedCounterMBean
Direct Known Subclasses:
ManagedPerformanceCounter

@ManagedResource(description="Managed Counter")
public abstract class ManagedCounter
extends Object
implements ManagedCounterMBean


Field Summary
protected  Statistic exchangesTotal
           
 
Constructor Summary
ManagedCounter()
           
 
Method Summary
 long getExchangesTotal()
           
 void increment()
           
 void init(ManagementStrategy strategy)
           
 void reset()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

exchangesTotal

protected Statistic exchangesTotal
Constructor Detail

ManagedCounter

public ManagedCounter()
Method Detail

init

public void init(ManagementStrategy strategy)

reset

public void reset()
Specified by:
reset in interface ManagedCounterMBean

getExchangesTotal

public long getExchangesTotal()
                       throws Exception
Specified by:
getExchangesTotal in interface ManagedCounterMBean
Throws:
Exception

increment

public void increment()


Apache CAMEL