public final class IlrJMXRemoteThreadMonitor extends IlrJMXAbstractThreadMonitor
javax.management.remote API.| Constructor and Description |
|---|
IlrJMXRemoteThreadMonitor(java.lang.String jmxUrl,
java.util.Map<java.lang.String,?> properties)
Construts instance of this class, and connects to a remote
MBeanServer. |
| Modifier and Type | Method and Description |
|---|---|
void |
endUsage()
Closes the client connection to the remote MBeanServer.
|
protected void |
initalizeThreadMXBean()
Initialize the
java.lang.management.ThreadMXBean instance. |
createModelFactory, enableThreadContentionMonitoring, getBlockingClass, resetpublic IlrJMXRemoteThreadMonitor(java.lang.String jmxUrl,
java.util.Map<java.lang.String,?> properties)
throws java.net.MalformedURLException
MBeanServer.java.net.MalformedURLException - if jmxURL does not conform to the syntax for an Abstract Service URL or
if it is not a valid name for a JMX Remote API service. A jmxURL must
begin with the string "service:jmx:" (case-insensitive). It must not
contain any characters that are not printable ASCII characters.jmxUrl - string parsed to build a javax.management.remote.JMXServiceURL.properties - a set of attributes to determine how the connection is made. This parameter can be null. Keys
in this map must be Strings. The appropriate type of each associated value depends on the
attribute. The contents of environment are not changed by this call.protected void initalizeThreadMXBean()
IlrJMXAbstractThreadMonitorjava.lang.management.ThreadMXBean instance. It is called in constructor.initalizeThreadMXBean in class IlrJMXAbstractThreadMonitorpublic void endUsage()
endUsage in class IlrJMXAbstractThreadMonitorjava.lang.RuntimeException - if the connection cannot be closed cleanly. If this exception is thrown, it is
not known whether the server end of the connection has been cleanly closed.© Copyright IBM Corp. 1987, 2017