@InterfaceAudience.Private public class JMXListener extends Object implements MasterCoprocessor, RegionServerCoprocessor
| 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 |
| Constructor and Description |
|---|
JMXListener() |
| Modifier and Type | Method and Description |
|---|---|
static JMXServiceURL |
buildJMXServiceURL(int rmiRegistryPort,
int rmiConnectorPort) |
void |
start(org.apache.hadoop.hbase.CoprocessorEnvironment env) |
void |
startConnectorServer(int rmiRegistryPort,
int rmiConnectorPort) |
void |
stop(org.apache.hadoop.hbase.CoprocessorEnvironment env) |
void |
stopConnectorServer() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMasterObservergetRegionServerObserverpublic 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
IOExceptionpublic void startConnectorServer(int rmiRegistryPort,
int rmiConnectorPort)
throws IOException
IOExceptionpublic void stopConnectorServer()
throws IOException
IOExceptionpublic void start(org.apache.hadoop.hbase.CoprocessorEnvironment env)
throws IOException
start in interface org.apache.hadoop.hbase.CoprocessorIOExceptionpublic void stop(org.apache.hadoop.hbase.CoprocessorEnvironment env)
throws IOException
stop in interface org.apache.hadoop.hbase.CoprocessorIOExceptionCopyright © 2007–2020 The Apache Software Foundation. All rights reserved.