com.ibm.websphere.webcontainer

Interface ServletStatsMXBean


  1. public interface ServletStatsMXBean
Management 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#newMMBeanProxy method.

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getAppName()
Retrieves the value of the read-only attribute AppName, the name of the application of which the servlet is a member.
  1. java.lang.String
getDescription()
Retrieves the value of the read-only attribute Description, which is a description of the MBean itself.
  1. long
getRequestCount()
Retrieves the value of the read-only attribute RequestCount, the number of requests the server has received for this servlet.
  1. Counter
getRequestCountDetails()
Retrieves the value of the read-only attribute RequestCountDetails, which provides other details on the request count.
  1. double
getResponseTime()
Retrieves the value of the read-only attribute ResponseTime, which is the average (mean) time spent responding to each request for the servlet.
  1. StatisticsMeter
getResponseTimeDetails()
Retrieves the value of the read-only attribute ResponseCountDetails, which provides statistical details on the response time.
  1. java.lang.String
getServletName()
Retrieves the value of the read-only attribute ServletName, the name of the servlet as specified in the deployment descriptor.

Method Detail

getDescription

  1. java.lang.String getDescription( )
Retrieves the value of the read-only attribute Description, which is a description of the MBean itself.
Returns:
description

getServletName

  1. java.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

getRequestCount

  1. long getRequestCount()
Retrieves the value of the read-only attribute RequestCount, the number of requests the server has received for this servlet.
Returns:
request count

getRequestCountDetails

  1. Counter getRequestCountDetails( )
Retrieves the value of the read-only attribute RequestCountDetails, which provides other details on the request count.
Returns:
request count details

getResponseTime

  1. double 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

getResponseTimeDetails

  1. StatisticsMeter getResponseTimeDetails( )
Retrieves the value of the read-only attribute ResponseCountDetails, which provides statistical details on the response time.
Returns:
response time details

getAppName

  1. java.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