public class GangliaHostPropertyProvider extends GangliaPropertyProvider
clusterNamePropertyId, componentNamePropertyId, configuration, hostNamePropertyId, hostProvider, metricsPaddingMethod, questionMarkPattern, streamProvider
Constructor and Description |
---|
GangliaHostPropertyProvider(Map<String,Map<String,PropertyInfo>> componentPropertyInfoMap,
URLStreamProvider streamProvider,
ComponentSSLConfiguration configuration,
MetricHostProvider hostProvider,
String clusterNamePropertyId,
String hostNamePropertyId) |
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, populateResourcesWithProperties
createInstance, getSetString, populateResources
checkAuthorizationForMetrics, checkPropertyCategory, getClustersNameFromResources, getClustersResourceId, getComponentMetrics, getPropertyInfoMap, getResourceTypeFromResources, getValue, isSupportedPropertyId, substituteArgument, updateComponentMetricMap, updatePropertyInfo, updatePropertyInfoMap
checkCategory, checkConfigPropertyIds, checkPropertyIds, containsArguments, getCategoryIds, getPropertyIds, getRegexEntry, getRegexGroups, getRequestPropertyIds, isPatternKey, isPropertyCategoryRequested, isPropertyEntryRequested, isPropertyRequested, setResourceProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPropertyIds
public GangliaHostPropertyProvider(Map<String,Map<String,PropertyInfo>> componentPropertyInfoMap, URLStreamProvider streamProvider, ComponentSSLConfiguration configuration, MetricHostProvider hostProvider, String clusterNamePropertyId, String hostNamePropertyId)
protected String getHostName(Resource resource)
MetricsPropertyProvider
getHostName
in class MetricsPropertyProvider
resource
- the resourceprotected String getComponentName(Resource resource)
MetricsPropertyProvider
getComponentName
in class MetricsPropertyProvider
resource
- the resourceprotected Set<String> getGangliaClusterNames(Resource resource, String clusterName)
GangliaPropertyProvider
getGangliaClusterNames
in class GangliaPropertyProvider
resource
- the resourceCopyright © 2022 Apache Software Foundation. All rights reserved.