public class JmxSimpleAttribute extends JmxAttribute
ALIAS, CASSANDRA_DOMAIN, LOGGER, METRIC_TYPE, tags| Constructor and Description |
|---|
JmxSimpleAttribute(MBeanAttributeInfo attribute,
ObjectName beanName,
String instanceName,
Connection connection,
HashMap<String,String> instanceTags,
boolean cassandraAliasing,
Boolean emptyDefaultHostname)
JmxSimpleAttribute constructor.
|
| Modifier and Type | Method and Description |
|---|---|
LinkedList<HashMap<String,Object>> |
getMetrics() |
boolean |
match(Configuration configuration)
Returns whether an attribute matches in a configuration spec.
|
getAlias, getAlias, getBeanName, getBeanParameters, getBeanParametersHash, getDomain, getExcludedBeanParams, getMatchingConf, getMetricsCount, getTags, renameCassandraMetrics, setMatchingConf, toStringpublic JmxSimpleAttribute(MBeanAttributeInfo attribute, ObjectName beanName, String instanceName, Connection connection, HashMap<String,String> instanceTags, boolean cassandraAliasing, Boolean emptyDefaultHostname)
public LinkedList<HashMap<String,Object>> getMetrics() throws AttributeNotFoundException, InstanceNotFoundException, MBeanException, ReflectionException, IOException
getMetrics in class JmxAttributeAttributeNotFoundExceptionInstanceNotFoundExceptionMBeanExceptionReflectionExceptionIOExceptionpublic boolean match(Configuration configuration)
match in class JmxAttributeconfiguration - Configuration a Configuration object that will be used to check if the Jmx
Attribute match this configurationCopyright © 2019. All rights reserved.