public class JmxSimpleAttribute extends JmxAttribute
ALIAS, CASSANDRA_DOMAIN, checkName, METRIC_TYPE, tags| Constructor and Description |
|---|
JmxSimpleAttribute(MBeanAttributeInfo attribute,
ObjectName beanName,
String className,
String instanceName,
String serviceName,
String checkName,
Connection connection,
Map<String,String> instanceTags,
boolean cassandraAliasing,
Boolean emptyDefaultHostname)
JmxSimpleAttribute constructor.
|
| Modifier and Type | Method and Description |
|---|---|
List<Metric> |
getMetrics() |
boolean |
match(Configuration configuration)
Returns whether an attribute matches in a configuration spec.
|
getAlias, getBeanName, getBeanParameters, getBeanParametersHash, getDomain, getExcludedBeanParams, getMatchingConf, getMetricsCount, getMetricType, getTags, renameCassandraMetrics, setMatchingConf, toStringpublic JmxSimpleAttribute(MBeanAttributeInfo attribute, ObjectName beanName, String className, String instanceName, String serviceName, String checkName, Connection connection, Map<String,String> instanceTags, boolean cassandraAliasing, Boolean emptyDefaultHostname)
public List<Metric> 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 © 2021. All rights reserved.