Interface ServletStatsMXBean


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
    Description
    Retrieves the value of the read-only attribute AppName, the name of the application of which the servlet is a member.
    Retrieves the value of the read-only attribute Description, which is a description of the MBean itself.
    long
    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.Counter
    Retrieves the value of the read-only attribute RequestCountDetails, which provides other details on the request count.
    double
    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.StatisticsMeter
    Retrieves the value of the read-only attribute ResponseCountDetails, which provides statistical details on the response time.
    Retrieves the value of the read-only attribute ServletName, the name of the servlet as specified in the deployment descriptor.
  • Method Details

    • getDescription

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

      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

      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

      com.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
    • getResponseTime

      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

      com.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
    • getAppName

      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