public class JMXHelper extends Object
| Constructor and Description |
|---|
JMXHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
connectToDS()
the INITTASKS calling connectToDS across ThreadGroups
should be executed with the keyword SEQUENTIAL
|
static void |
connectToDS(String host,
int port) |
static void |
connectToDSButDoNotAttachListeners() |
static void |
disconnectAndThenReconnectToDSNoListeners()
If there's an existing connection to the DS, then disconnect it
Subsequently re-connect again.
|
static void |
disconnectFromDS() |
static void |
killClient() |
static void |
main(String[] args) |
static void |
registerStatAlertDefinition(com.gemstone.gemfire.internal.admin.StatAlertDefinition def) |
static void |
startJMXAgent()
Starts and connects a JMX agent using the
AgentPrms
configuration specified in ConfigPrms.agentConfig. |
static void |
startJMXAgentButDoNotConnect()
Starts a JMX agent using the
AgentPrms
configuration specified in ConfigPrms.agentConfig. |
public static void startJMXAgent()
AgentPrms
configuration specified in ConfigPrms.agentConfig.public static void startJMXAgentButDoNotConnect()
AgentPrms
configuration specified in ConfigPrms.agentConfig.
This method does not connect the Agent to the DSpublic static void disconnectAndThenReconnectToDSNoListeners()
throws Exception
Exceptionpublic static void connectToDSButDoNotAttachListeners()
throws Exception
Exceptionpublic static void connectToDS()
throws Exception
Must be invoked after the JMX agents have been created, started, and
connected using AgentHelper.
Exceptionpublic static void connectToDS(String host, int port) throws Exception
Exceptionpublic static void registerStatAlertDefinition(com.gemstone.gemfire.internal.admin.StatAlertDefinition def)
throws Exception
ExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.