public class ResponseTimeCounter extends Object implements ResponseTimeCounterMBean, Counter
PERFORMANCE_COUNTER
Constructor and Description |
---|
ResponseTimeCounter(ObjectName on) |
Modifier and Type | Method and Description |
---|---|
void |
enable(boolean value) |
Number |
getAvgResponseTime()
Get the Average Response Time
NOTE: if the invocation number is 0, this method
will return -1
|
Number |
getMaxResponseTime() |
Number |
getMinResponseTime() |
Number |
getNumCheckedApplicationFaults() |
Number |
getNumInvocations() |
Number |
getNumLogicalRuntimeFaults() |
Number |
getNumRuntimeFaults() |
Number |
getNumUnCheckedApplicationFaults() |
ObjectName |
getObjectName() |
Number |
getTotalHandlingTime() |
void |
increase(MessageHandlingTimeRecorder mhtr) |
boolean |
isEnabled() |
void |
reset() |
public ResponseTimeCounter(ObjectName on)
public void increase(MessageHandlingTimeRecorder mhtr)
public void reset()
reset
in interface ResponseTimeCounterMBean
public ObjectName getObjectName()
getObjectName
in interface ManagedComponent
public Number getAvgResponseTime()
ResponseTimeCounterMBean
getAvgResponseTime
in interface ResponseTimeCounterMBean
public Number getMaxResponseTime()
getMaxResponseTime
in interface ResponseTimeCounterMBean
public Number getMinResponseTime()
getMinResponseTime
in interface ResponseTimeCounterMBean
public Number getNumInvocations()
getNumInvocations
in interface Counter
getNumInvocations
in interface ResponseTimeCounterMBean
public Number getNumCheckedApplicationFaults()
getNumCheckedApplicationFaults
in interface ResponseTimeCounterMBean
public Number getNumLogicalRuntimeFaults()
getNumLogicalRuntimeFaults
in interface ResponseTimeCounterMBean
public Number getNumRuntimeFaults()
getNumRuntimeFaults
in interface ResponseTimeCounterMBean
public Number getNumUnCheckedApplicationFaults()
getNumUnCheckedApplicationFaults
in interface ResponseTimeCounterMBean
public Number getTotalHandlingTime()
getTotalHandlingTime
in interface ResponseTimeCounterMBean
public void enable(boolean value)
enable
in interface ResponseTimeCounterMBean
public boolean isEnabled()
isEnabled
in interface Counter
isEnabled
in interface ResponseTimeCounterMBean
Apache CXF