Package org.opencms.mx
Class CmsDiagnosticsMXBean
java.lang.Object
org.opencms.mx.CmsDiagnosticsMXBean
- All Implemented Interfaces:
I_CmsDiagnosticsMXBean
Bean for special diagnostic information retrievable via JMX.
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionContains a textual representation of the current requests running in the OpenCmsServlet.static void
register()
Registers an MBean of this class.
-
Field Details
-
INSTANCE
The instance.
-
-
Constructor Details
-
CmsDiagnosticsMXBean
public CmsDiagnosticsMXBean()
-
-
Method Details
-
register
Registers an MBean of this class.- Throws:
Exception
- if registration fails
-
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 interfaceI_CmsDiagnosticsMXBean
- Returns:
- a textual representation of the current requests in the OpenCmsServlet
- See Also:
-