public class JMXManagerHelper extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
JMXManagerHelper.Endpoint
Represents the endpoint for a JMX manager.
|
| Modifier and Type | Field and Description |
|---|---|
protected static int |
DEFAULT_JMX_MANAGER_HTTP_PORT |
protected static int |
DEFAULT_JMX_MANAGER_PORT |
| Constructor and Description |
|---|
JMXManagerHelper() |
| Modifier and Type | Method and Description |
|---|---|
protected static JMXManagerHelper.Endpoint |
getEndpoint()
Returns the JMX manager endpoint for this JVM from the shared
JMXManagerBlackboard map, if it exists. |
protected static JMXManagerHelper.Endpoint |
getEndpoint(boolean generatePort,
boolean generateHttpPort)
Returns the JMX manager endpoint for this JVM from the shared
JMXManagerBlackboard map. |
static List<JMXManagerHelper.Endpoint> |
getEndpoints()
Returns all JMX manager endpoints from the
JMXManagerBlackboard
map, a possibly empty list. |
static List |
getEndpoints(String distributedSystemName)
Returns all JMX manager endpoints for the specified distributed system
from the
JMXManagerBlackboard map, a possibly empty list. |
static List |
getSystemEndpoints()
Returns all JMX manager endpoints for this JVM's distributed system from
the
JMXManagerBlackboard map, a possibly empty list. |
protected static final int DEFAULT_JMX_MANAGER_PORT
protected static final int DEFAULT_JMX_MANAGER_HTTP_PORT
protected static JMXManagerHelper.Endpoint getEndpoint()
JMXManagerBlackboard map, if it exists. Otherwise returns null.public static List<JMXManagerHelper.Endpoint> getEndpoints()
JMXManagerBlackboard
map, a possibly empty list. This includes all JMX managers that have ever
generated an endpoint, regardless of their distributed system or current
active status.public static List getSystemEndpoints()
JMXManagerBlackboard map, a possibly empty list. This
includes all JMX managers that have ever generated an endpoint, regardless
of their current active status.public static List getEndpoints(String distributedSystemName)
JMXManagerBlackboard map, a possibly empty list.
This includes all JMX managers that have ever generated an endpoint,
regardless of their current active status.protected static JMXManagerHelper.Endpoint getEndpoint(boolean generatePort, boolean generateHttpPort)
JMXManagerBlackboard map. Generates one if it does not already exist.Copyright © 2010-2015 Pivotal Software, Inc. All rights reserved.