public class GangliaComponentPropertyProvider extends GangliaPropertyProvider
LOG
Constructor and Description |
---|
GangliaComponentPropertyProvider(Map<String,Map<String,PropertyInfo>> componentMetrics,
StreamProvider streamProvider,
ComponentSSLConfiguration configuration,
GangliaHostProvider hostProvider,
String clusterNamePropertyId,
String componentNamePropertyId) |
Modifier and Type | Method and Description |
---|---|
protected String |
getComponentName(Resource resource)
Get the component name for the given resource.
|
protected Set<String> |
getGangliaClusterNames(Resource resource,
String clusterName)
Get the ganglia cluster name for the given resource.
|
protected String |
getHostName(Resource resource)
Get the host name for the given resource.
|
getComponentNamePropertyId, getHostNamePropertyId, getStreamProvider, populateResources
getComponentMetrics, getPropertyInfoMap, getPropertyInfoMap, substituteArgument, updateComponentMetricMap
checkConfigPropertyIds, checkPropertyIds, containsArguments, getPropertyIds, getRegexGroups, getRegExpKey, getRequestPropertyIds, isPatternKey, setResourceProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPropertyIds
public GangliaComponentPropertyProvider(Map<String,Map<String,PropertyInfo>> componentMetrics, StreamProvider streamProvider, ComponentSSLConfiguration configuration, GangliaHostProvider hostProvider, String clusterNamePropertyId, String componentNamePropertyId)
protected String getHostName(Resource resource)
GangliaPropertyProvider
getHostName
in class GangliaPropertyProvider
resource
- the resourceprotected String getComponentName(Resource resource)
GangliaPropertyProvider
getComponentName
in class GangliaPropertyProvider
resource
- the resourceprotected Set<String> getGangliaClusterNames(Resource resource, String clusterName)
GangliaPropertyProvider
getGangliaClusterNames
in class GangliaPropertyProvider
resource
- the resourceCopyright © 2016. All rights reserved.