public class JMXTabularAttribute extends JMXAttribute
ALIAS, CASSANDRA_DOMAIN, LOGGER, METRIC_TYPE, tags| Constructor and Description |
|---|
JMXTabularAttribute(MBeanAttributeInfo attribute,
ObjectName beanName,
String instanceName,
Connection connection,
HashMap<String,String> instanceTags,
boolean emptyDefaultHostname) |
| Modifier and Type | Method and Description |
|---|---|
LinkedList<HashMap<String,Object>> |
getMetrics() |
protected String[] |
getTags(String key,
String subAttribute) |
boolean |
match(Configuration configuration)
An abstract function implemented in the inherited classes JMXSimpleAttribute and JMXComplexAttribute
|
getAlias, getAlias, getBeanName, getBeanParameters, getBeanParametersHash, getDomain, getExcludedBeanParams, getMatchingConf, getMetricsCount, getTags, renameCassandraMetrics, setMatchingConf, toStringpublic JMXTabularAttribute(MBeanAttributeInfo attribute, ObjectName beanName, String instanceName, Connection connection, HashMap<String,String> instanceTags, boolean emptyDefaultHostname)
protected String[] getTags(String key, String subAttribute) throws AttributeNotFoundException, InstanceNotFoundException, MBeanException, ReflectionException, IOException
public LinkedList<HashMap<String,Object>> getMetrics() throws AttributeNotFoundException, InstanceNotFoundException, MBeanException, ReflectionException, IOException
getMetrics in class JMXAttributeAttributeNotFoundExceptionInstanceNotFoundExceptionMBeanExceptionReflectionExceptionIOExceptionpublic boolean match(Configuration configuration)
JMXAttributematch in class JMXAttributeconfiguration - Configuration a Configuration object that will be used to check if the JMX Attribute match this configurationCopyright © 2019. All rights reserved.