public class JMXListener
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static int |
defMasterRMIRegistryPort |
static int |
defRegionserverRMIRegistryPort |
static java.lang.String |
RMI_CONNECTOR_PORT_CONF_KEY |
static java.lang.String |
RMI_REGISTRY_PORT_CONF_KEY |
Constructor and Description |
---|
JMXListener() |
Modifier and Type | Method and Description |
---|---|
static javax.management.remote.JMXServiceURL |
buildJMXServiceURL(int rmiRegistryPort,
int rmiConnectorPort) |
void |
start(CoprocessorEnvironment env) |
void |
startConnectorServer(int rmiRegistryPort,
int rmiConnectorPort) |
void |
stop(CoprocessorEnvironment env) |
void |
stopConnectorServer() |
public static final java.lang.String RMI_REGISTRY_PORT_CONF_KEY
public static final java.lang.String RMI_CONNECTOR_PORT_CONF_KEY
public static final int defMasterRMIRegistryPort
public static final int defRegionserverRMIRegistryPort
public static javax.management.remote.JMXServiceURL buildJMXServiceURL(int rmiRegistryPort, int rmiConnectorPort) throws java.io.IOException
java.io.IOException
public void startConnectorServer(int rmiRegistryPort, int rmiConnectorPort) throws java.io.IOException
java.io.IOException
public void stopConnectorServer() throws java.io.IOException
java.io.IOException
public void start(CoprocessorEnvironment env) throws java.io.IOException
java.io.IOException
public void stop(CoprocessorEnvironment env) throws java.io.IOException
java.io.IOException