org.apache.cxf.management.counters
Class ResponseTimeCounter
java.lang.Object
org.apache.cxf.management.counters.ResponseTimeCounter
- All Implemented Interfaces:
- Counter, ResponseTimeCounterMBean, ManagedComponent
public class ResponseTimeCounter
- extends Object
- implements ResponseTimeCounterMBean, Counter
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ResponseTimeCounter
public ResponseTimeCounter(ObjectName on)
increase
public void increase(MessageHandlingTimeRecorder mhtr)
- Specified by:
increase
in interface Counter
reset
public void reset()
- Specified by:
reset
in interface ResponseTimeCounterMBean
getObjectName
public ObjectName getObjectName()
- Specified by:
getObjectName
in interface ManagedComponent
getAvgResponseTime
public Number getAvgResponseTime()
- Description copied from interface:
ResponseTimeCounterMBean
- Get the Average Response Time
NOTE: if the invocation number is 0, this method
will return -1
- Specified by:
getAvgResponseTime
in interface ResponseTimeCounterMBean
getMaxResponseTime
public Number getMaxResponseTime()
- Specified by:
getMaxResponseTime
in interface ResponseTimeCounterMBean
getMinResponseTime
public Number getMinResponseTime()
- Specified by:
getMinResponseTime
in interface ResponseTimeCounterMBean
getNumInvocations
public Number getNumInvocations()
- Specified by:
getNumInvocations
in interface Counter
- Specified by:
getNumInvocations
in interface ResponseTimeCounterMBean
getNumCheckedApplicationFaults
public Number getNumCheckedApplicationFaults()
- Specified by:
getNumCheckedApplicationFaults
in interface ResponseTimeCounterMBean
getNumLogicalRuntimeFaults
public Number getNumLogicalRuntimeFaults()
- Specified by:
getNumLogicalRuntimeFaults
in interface ResponseTimeCounterMBean
getNumRuntimeFaults
public Number getNumRuntimeFaults()
- Specified by:
getNumRuntimeFaults
in interface ResponseTimeCounterMBean
getNumUnCheckedApplicationFaults
public Number getNumUnCheckedApplicationFaults()
- Specified by:
getNumUnCheckedApplicationFaults
in interface ResponseTimeCounterMBean
getTotalHandlingTime
public Number getTotalHandlingTime()
- Specified by:
getTotalHandlingTime
in interface ResponseTimeCounterMBean
Apache CXF