Apache CXF API

org.apache.cxf.management.counters
Class ResponseTimeCounter

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

public class ResponseTimeCounter
extends java.lang.Object
implements ResponseTimeCounterMBean, Counter


Field Summary
 
Fields inherited from interface org.apache.cxf.management.counters.Counter
PERFORMANCE_COUNTER
 
Constructor Summary
ResponseTimeCounter(javax.management.ObjectName on)
           
 
Method Summary
 java.lang.Number getAvgResponseTime()
           
 java.lang.Number getMaxResponseTime()
           
 java.lang.Number getMinResponseTime()
           
 java.lang.Number getNumInvocations()
           
 javax.management.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

ResponseTimeCounter

public ResponseTimeCounter(javax.management.ObjectName on)
Method Detail

increase

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

getObjectName

public javax.management.ObjectName getObjectName()
Specified by:
getObjectName in interface ManagedComponent

getAvgResponseTime

public java.lang.Number getAvgResponseTime()
Specified by:
getAvgResponseTime in interface ResponseTimeCounterMBean

getMaxResponseTime

public java.lang.Number getMaxResponseTime()
Specified by:
getMaxResponseTime in interface ResponseTimeCounterMBean

getMinResponseTime

public java.lang.Number getMinResponseTime()
Specified by:
getMinResponseTime in interface ResponseTimeCounterMBean

getNumInvocations

public java.lang.Number getNumInvocations()
Specified by:
getNumInvocations in interface Counter
Specified by:
getNumInvocations in interface ResponseTimeCounterMBean

Apache CXF API

Apache CXF is an effort undergoing incubation at the Apache Software Foundation(ASF) and sponsored by the Apache Incubator PMC.