public abstract class JMXAttribute extends Object
| Modifier and Type | Field and Description |
|---|---|
protected static String |
ALIAS |
protected static String |
CASSANDRA_DOMAIN |
protected static org.apache.log4j.Logger |
LOGGER |
protected static String |
METRIC_TYPE |
protected String[] |
tags |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getAlias()
Overload `getAlias` method.
|
protected String |
getAlias(String field)
Get attribute alias.
|
ObjectName |
getBeanName() |
protected HashMap<String,String> |
getBeanParameters() |
static HashMap<String,String> |
getBeanParametersHash(String beanParametersString) |
protected String |
getDomain() |
static List<String> |
getExcludedBeanParams() |
Configuration |
getMatchingConf() |
abstract LinkedList<HashMap<String,Object>> |
getMetrics() |
int |
getMetricsCount() |
protected String[] |
getTags() |
abstract boolean |
match(Configuration conf)
An abstract function implemented in the inherited classes JMXSimpleAttribute and JMXComplexAttribute
|
protected Boolean |
renameCassandraMetrics() |
void |
setMatchingConf(Configuration matchingConf) |
String |
toString() |
protected static final String ALIAS
protected static final String METRIC_TYPE
protected static final org.apache.log4j.Logger LOGGER
protected static final String CASSANDRA_DOMAIN
protected String[] tags
public static HashMap<String,String> getBeanParametersHash(String beanParametersString)
protected Boolean renameCassandraMetrics()
public abstract LinkedList<HashMap<String,Object>> getMetrics() throws AttributeNotFoundException, InstanceNotFoundException, MBeanException, ReflectionException, IOException
public abstract boolean match(Configuration conf)
conf - Configuration a Configuration object that will be used to check if the JMX Attribute match this configurationpublic int getMetricsCount()
public Configuration getMatchingConf()
public void setMatchingConf(Configuration matchingConf)
public ObjectName getBeanName()
protected String getAlias(String field)
protected String getAlias()
protected String[] getTags()
protected String getDomain()
Copyright © 2019. All rights reserved.