public final class JMSMonitorRegistryClient extends Object implements MonitorRegistryClient, CleanupIF
Modifier and Type | Method and Description |
---|---|
void |
cleanup()
Used to clean up a class from within a shutdown hook.
|
static JMSMonitorRegistryClient |
getInstance()
Get the registry client singleton.
|
void |
register(String localHostName,
int jmxPort,
int rmiPort)
Register this host for monitoring.
|
public static JMSMonitorRegistryClient getInstance()
public void register(String localHostName, int jmxPort, int rmiPort)
register
in interface MonitorRegistryClient
localHostName
- The name of the host.jmxPort
- The port for JMX connections to the host.rmiPort
- The port for RMI connections for JMX communication.ArgumentNotValid
- on null or empty localHostName, or negative port numbers.Copyright © 2005–2016 The Royal Danish Library, the Danish State and University Library, the National Library of France and the Austrian National Library.. All rights reserved.