Package com.ibm.websphere.webcontainer
Interface ServletStatsMXBean
- 
 public interface ServletStatsMXBeanManagement interface for MBeans with names of the form "WebSphere:type=ServletStats,name=*" where * is the name of a servlet within an application under the Liberty profile of the form. . For example, myApp.DemoServlet. One such MBean for each servlet in the system is available from the Liberty profile platform MBean server when the monitor-1.0 feature is enabled. This interface can be used to request a proxy object via the javax.management.JMX#newMMBeanProxymethod.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetAppName()Retrieves the value of the read-only attribute AppName, the name of the application of which the servlet is a member.java.lang.StringgetDescription()Retrieves the value of the read-only attribute Description, which is a description of the MBean itself.longgetRequestCount()Retrieves the value of the read-only attribute RequestCount, the number of requests the server has received for this servlet.com.ibm.websphere.monitor.jmx.CountergetRequestCountDetails()Retrieves the value of the read-only attribute RequestCountDetails, which provides other details on the request count.doublegetResponseTime()Retrieves the value of the read-only attribute ResponseTime, which is the average (mean) time spent responding to each request for the servlet.com.ibm.websphere.monitor.jmx.StatisticsMetergetResponseTimeDetails()Retrieves the value of the read-only attribute ResponseCountDetails, which provides statistical details on the response time.java.lang.StringgetServletName()Retrieves the value of the read-only attribute ServletName, the name of the servlet as specified in the deployment descriptor.
 
- 
- 
- 
Method Detail- 
getDescriptionjava.lang.String getDescription() Retrieves the value of the read-only attribute Description, which is a description of the MBean itself.- Returns:
- description
 
 - 
getServletNamejava.lang.String getServletName() Retrieves the value of the read-only attribute ServletName, the name of the servlet as specified in the deployment descriptor.- Returns:
- servlet name
 
 - 
getRequestCountlong getRequestCount() Retrieves the value of the read-only attribute RequestCount, the number of requests the server has received for this servlet.- Returns:
- request count
 
 - 
getRequestCountDetailscom.ibm.websphere.monitor.jmx.Counter getRequestCountDetails() Retrieves the value of the read-only attribute RequestCountDetails, which provides other details on the request count.- Returns:
- request count details
 
 - 
getResponseTimedouble getResponseTime() Retrieves the value of the read-only attribute ResponseTime, which is the average (mean) time spent responding to each request for the servlet.- Returns:
- response time
 
 - 
getResponseTimeDetailscom.ibm.websphere.monitor.jmx.StatisticsMeter getResponseTimeDetails() Retrieves the value of the read-only attribute ResponseCountDetails, which provides statistical details on the response time.- Returns:
- response time details
 
 - 
getAppNamejava.lang.String getAppName() Retrieves the value of the read-only attribute AppName, the name of the application of which the servlet is a member.- Returns:
- app name
 
 
- 
 
-