Class CmsDiagnosticsMXBean

    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String listActiveRequests()
      Contains a textual representation of the current requests running in the OpenCmsServlet.
      static void register()
      Registers an MBean of this class.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • register

        public static void register()
                             throws java.lang.Exception
        Registers an MBean of this class.
        Throws:
        java.lang.Exception - if registration fails
      • listActiveRequests

        public java.lang.String listActiveRequests()
        Description copied from interface: I_CmsDiagnosticsMXBean
        Contains a textual representation of the current requests running in the OpenCmsServlet.

        For each request, a line of text containing the thread id of the thread handling the request, the request URL, and the current runtime is produced. They look like this:

        (#67) http://www.adfasdfasdf.com 33333

        Specified by:
        listActiveRequests in interface I_CmsDiagnosticsMXBean
        Returns:
        a textual representation of the current requests in the OpenCmsServlet
        See Also:
        I_CmsDiagnosticsMXBean.listActiveRequests()