public class ResponseMXBeanImpl extends Object implements ResponseMXBean
ResponseMXBean MXBean interface.| Constructor and Description |
|---|
ResponseMXBeanImpl() |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getLastResponseCode()
Returns the response code of a last response written by the application.
|
Map<Integer,Long> |
getResponseCodesToCountMap()
Returns statistics of response codes produces by the application.
|
void |
updateResponseStatistics(ResponseStatistics responseStatistics)
Update the statistics exposed by the MXBean.
|
public void updateResponseStatistics(ResponseStatistics responseStatistics)
responseStatistics - public Map<Integer,Long> getResponseCodesToCountMap()
ResponseMXBeangetResponseCodesToCountMap in interface ResponseMXBeanpublic Integer getLastResponseCode()
ResponseMXBeangetLastResponseCode in interface ResponseMXBeanCopyright © 2007-2024,Oracleand/or its affiliates.All Rights Reserved. Use is subject to license terms.