public class JMXListener extends Object implements Coprocessor
Coprocessor.State
Modifier and Type | Field and Description |
---|---|
static int |
defMasterRMIRegistryPort |
static int |
defRegionserverRMIRegistryPort |
static String |
RMI_CONNECTOR_PORT_CONF_KEY |
static String |
RMI_REGISTRY_PORT_CONF_KEY |
PRIORITY_HIGHEST, PRIORITY_LOWEST, PRIORITY_SYSTEM, PRIORITY_USER, VERSION
Constructor and Description |
---|
JMXListener() |
Modifier and Type | Method and Description |
---|---|
static 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 String RMI_REGISTRY_PORT_CONF_KEY
public static final String RMI_CONNECTOR_PORT_CONF_KEY
public static final int defMasterRMIRegistryPort
public static final int defRegionserverRMIRegistryPort
public static JMXServiceURL buildJMXServiceURL(int rmiRegistryPort, int rmiConnectorPort) throws IOException
IOException
public void startConnectorServer(int rmiRegistryPort, int rmiConnectorPort) throws IOException
IOException
public void stopConnectorServer() throws IOException
IOException
public void start(CoprocessorEnvironment env) throws IOException
start
in interface Coprocessor
IOException
public void stop(CoprocessorEnvironment env) throws IOException
stop
in interface Coprocessor
IOException
Copyright © 2007–2019 The Apache Software Foundation. All rights reserved.