Apache CXF API

org.apache.cxf.management.counters
Class PerformanceCounter

java.lang.Object
  extended by org.apache.cxf.management.counters.PerformanceCounter
All Implemented Interfaces:
Counter, PerformanceCounterMBean, ManagedComponent

public class PerformanceCounter
extends Object
implements PerformanceCounterMBean, Counter


Field Summary
 
Fields inherited from interface org.apache.cxf.management.counters.Counter
PERFORMANCE_COUNTER
 
Constructor Summary
PerformanceCounter(ObjectName on)
           
 
Method Summary
 Number getNumInvocations()
           
 ObjectName getObjectName()
           
 void increase(MessageHandlingTimeRecorder mhtr)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PerformanceCounter

public PerformanceCounter(ObjectName on)
Method Detail

getNumInvocations

public Number getNumInvocations()
Specified by:
getNumInvocations in interface Counter
Specified by:
getNumInvocations in interface PerformanceCounterMBean

increase

public void increase(MessageHandlingTimeRecorder mhtr)
Specified by:
increase in interface Counter

getObjectName

public ObjectName getObjectName()
                         throws JMException
Specified by:
getObjectName in interface ManagedComponent
Throws:
JMException

Apache CXF API

Apache CXF