public class JmxComplexAttribute extends JmxAttribute
ALIAS, CASSANDRA_DOMAIN, checkName, METRIC_TYPE, tags| Constructor and Description |
|---|
JmxComplexAttribute(MBeanAttributeInfo attribute,
ObjectName beanName,
String className,
String instanceName,
String checkName,
Connection connection,
ServiceNameProvider serviceNameProvider,
Map<String,String> instanceTags,
boolean emptyDefaultHostname)
JmxComplexAttribute constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Metric |
getCachedMetric(String name) |
List<Metric> |
getMetrics() |
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 JmxComplexAttribute(MBeanAttributeInfo attribute, ObjectName beanName, String className, String instanceName, String checkName, Connection connection, ServiceNameProvider serviceNameProvider, Map<String,String> instanceTags, boolean emptyDefaultHostname)
public List<Metric> getMetrics() throws AttributeNotFoundException, MBeanException, ReflectionException, InstanceNotFoundException, IOException
getMetrics in class JmxAttributeAttributeNotFoundExceptionMBeanExceptionReflectionExceptionInstanceNotFoundExceptionIOExceptionpublic 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 © 2022. All rights reserved.