public class JmxTabularAttribute extends JmxAttribute
ALIAS, CASSANDRA_DOMAIN, checkName, METRIC_TYPE, tags| Constructor and Description |
|---|
JmxTabularAttribute(MBeanAttributeInfo attribute,
ObjectName beanName,
String className,
String instanceName,
String checkName,
Connection connection,
Map<String,String> instanceTags,
boolean emptyDefaultHostname)
Default constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Metric |
getCachedMetric(String name) |
List<Metric> |
getMetrics() |
protected String[] |
getTags(String key,
String subAttribute) |
boolean |
match(Configuration configuration)
An abstract function implemented in the inherited classes JmxSimpleAttribute and
JmxComplexAttribute.
|
getAlias, getBeanName, getBeanParameters, getBeanParametersHash, getDomain, getExcludedBeanParams, getMatchingConf, getMetricsCount, getMetricType, getTags, renameCassandraMetrics, setMatchingConf, toStringpublic JmxTabularAttribute(MBeanAttributeInfo attribute, ObjectName beanName, String className, String instanceName, String checkName, Connection connection, Map<String,String> instanceTags, boolean emptyDefaultHostname)
protected String[] getTags(String key, String subAttribute) throws AttributeNotFoundException, InstanceNotFoundException, MBeanException, ReflectionException, IOException
public List<Metric> 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 © 2021. All rights reserved.