@InterfaceAudience.Private public class JMXListener extends Object implements MasterCoprocessor, RegionServerCoprocessor
Coprocessor.State| 限定符和类型 | 字段和说明 |
|---|---|
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| 构造器和说明 |
|---|
JMXListener() |
| 限定符和类型 | 方法和说明 |
|---|---|
static JMXServiceURL |
buildJMXServiceURL(int rmiRegistryPort,
int rmiConnectorPort) |
void |
start(CoprocessorEnvironment env) |
void |
startConnectorServer(int rmiRegistryPort,
int rmiConnectorPort) |
void |
stop(CoprocessorEnvironment env) |
void |
stopConnectorServer() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetMasterObservergetRegionServerObservergetServicespublic 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(CoprocessorEnvironment env) throws IOException
start 在接口中 CoprocessorIOExceptionpublic void stop(CoprocessorEnvironment env) throws IOException
stop 在接口中 CoprocessorIOExceptionCopyright © 2007–2019 The Apache Software Foundation. All rights reserved.