public class JmxAttributesDumper extends Object
| Modifier and Type | Field and Description |
|---|---|
static int |
DEFAULT_JMX_PORT |
static int |
HOST_INDEX |
protected static org.slf4j.Logger |
LOGGER |
static int |
PASSWORD_INDEX |
static int |
PORT_INDEX |
static String |
QFS_REFRESH_OPERATION_NAME |
static int |
USERNAME_INDEX |
| Constructor and Description |
|---|
JmxAttributesDumper() |
| Modifier and Type | Method and Description |
|---|---|
static String |
buildJmxUrl(String host,
int port) |
Map<ObjectName,Map<String,Object>> |
dump(MBeanServerConnection mbs,
ObjectName template,
QueryExp query) |
protected Set<ObjectInstance> |
getAllBeans(MBeanServerConnection mbs,
ObjectName template,
QueryExp query) |
static void |
main(String[] args) |
JMXConnector |
openConnector(ApexBasicConnectionDTO connectionDetails) |
static ApexBasicConnectionDTO |
prepareConnection(List<? extends String> args) |
protected static final org.slf4j.Logger LOGGER
public static final int HOST_INDEX
public static final int PORT_INDEX
public static final int USERNAME_INDEX
public static final int PASSWORD_INDEX
public static final int DEFAULT_JMX_PORT
public static final String QFS_REFRESH_OPERATION_NAME
public static void main(String[] args) throws IOException
IOExceptionpublic static ApexBasicConnectionDTO prepareConnection(List<? extends String> args)
public JMXConnector openConnector(ApexBasicConnectionDTO connectionDetails) throws IOException
IOExceptionpublic Map<ObjectName,Map<String,Object>> dump(MBeanServerConnection mbs, ObjectName template, QueryExp query) throws IOException
IOExceptionprotected Set<ObjectInstance> getAllBeans(MBeanServerConnection mbs, ObjectName template, QueryExp query) throws IOException
IOExceptionCopyright © 2014–2017 Pivotal Software, Inc.. All rights reserved.