public class JmxDatacollectionConfiggenerator extends Object
Modifier and Type | Field and Description |
---|---|
protected List<String> |
aliasList |
protected Map<String,Integer> |
aliasMap |
Constructor and Description |
---|
JmxDatacollectionConfiggenerator(LogAdapter logger) |
Modifier and Type | Method and Description |
---|---|
protected String |
createAndRegisterUniqueAlias(String originalAlias) |
JmxDatacollectionConfig |
generateJmxConfigModel(List<String> ids,
MBeanServerConnection mBeanServerConnection,
String serviceName,
Boolean runStandardVmBeans,
Boolean skipNonNumber,
Map<String,String> dictionary) |
JmxDatacollectionConfig |
generateJmxConfigModel(MBeanServerConnection mBeanServerConnection,
String serviceName,
Boolean runStandardVmBeans,
Boolean skipNonNumber,
Map<String,String> dictionary)
Deprecated.
|
protected boolean |
matches(Collection<FilterCriteria> criteriaList,
ObjectName objectName,
MBeanAttributeInfo mBeanAttributeInfo)
Verifies if the given mBeanAttributeInfo matches one of the given criteria list.
|
void |
writeJmxConfigFile(JmxDatacollectionConfig jmxDatacollectionConfigModel,
String outFile) |
public JmxDatacollectionConfiggenerator(LogAdapter logger)
@Deprecated public JmxDatacollectionConfig generateJmxConfigModel(MBeanServerConnection mBeanServerConnection, String serviceName, Boolean runStandardVmBeans, Boolean skipNonNumber, Map<String,String> dictionary) throws MBeanServerQueryException, IOException, JMException
generateJmxConfigModel(List, MBeanServerConnection, String, Boolean, Boolean, Map)
instead.mBeanServerConnection
- serviceName
- runStandardVmBeans
- dictionary
- MBeanServerQueryException
IOException
JMException
public JmxDatacollectionConfig generateJmxConfigModel(List<String> ids, MBeanServerConnection mBeanServerConnection, String serviceName, Boolean runStandardVmBeans, Boolean skipNonNumber, Map<String,String> dictionary) throws MBeanServerQueryException, IOException, JMException
protected boolean matches(Collection<FilterCriteria> criteriaList, ObjectName objectName, MBeanAttributeInfo mBeanAttributeInfo)
criteriaList
- mBeanAttributeInfo
- public void writeJmxConfigFile(JmxDatacollectionConfig jmxDatacollectionConfigModel, String outFile) throws IOException
IOException
Copyright © 2021. All rights reserved.