public abstract class GangliaPropertyProvider extends MetricsPropertyProvider
clusterNamePropertyId, componentNamePropertyId, configuration, hostNamePropertyId, hostProvider, metricsPaddingMethod, questionMarkPattern, streamProvider| Constructor and Description |
|---|
GangliaPropertyProvider(Map<String,Map<String,PropertyInfo>> componentPropertyInfoMap,
URLStreamProvider streamProvider,
ComponentSSLConfiguration configuration,
MetricHostProvider hostProvider,
String clusterNamePropertyId,
String hostNamePropertyId,
String componentNamePropertyId) |
| Modifier and Type | Method and Description |
|---|---|
protected String |
getComponentNamePropertyId()
Get the component name property id.
|
protected abstract Set<String> |
getGangliaClusterNames(Resource resource,
String clusterName)
Get the ganglia cluster name for the given resource.
|
protected String |
getHostNamePropertyId()
Get the host name property id.
|
StreamProvider |
getStreamProvider()
Get the stream provider.
|
Set<Resource> |
populateResourcesWithProperties(Set<Resource> resources,
Request request,
Set<String> propertyIds)
Delegate implementation of populating resources to concrete providers.
|
createInstance, getComponentName, getHostName, getSetString, populateResourcescheckAuthorizationForMetrics, checkPropertyCategory, getClustersNameFromResources, getClustersResourceId, getComponentMetrics, getPropertyInfoMap, getResourceTypeFromResources, getValue, isSupportedPropertyId, substituteArgument, updateComponentMetricMap, updatePropertyInfo, updatePropertyInfoMapcheckCategory, checkConfigPropertyIds, checkPropertyIds, containsArguments, getCategoryIds, getPropertyIds, getRegexEntry, getRegexGroups, getRequestPropertyIds, isPatternKey, isPropertyCategoryRequested, isPropertyEntryRequested, isPropertyRequested, setResourcePropertyclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcheckPropertyIdspublic GangliaPropertyProvider(Map<String,Map<String,PropertyInfo>> componentPropertyInfoMap, URLStreamProvider streamProvider, ComponentSSLConfiguration configuration, MetricHostProvider hostProvider, String clusterNamePropertyId, String hostNamePropertyId, String componentNamePropertyId)
public Set<Resource> populateResourcesWithProperties(Set<Resource> resources, Request request, Set<String> propertyIds) throws SystemException
MetricsPropertyProviderpopulateResourcesWithProperties in class MetricsPropertyProviderresources - @Resourcerequest - @RequestpropertyIds - Set of idsSystemExceptionprotected abstract Set<String> getGangliaClusterNames(Resource resource, String clusterName)
resource - the resourceprotected String getComponentNamePropertyId()
protected String getHostNamePropertyId()
public StreamProvider getStreamProvider()
Copyright © 2022 Apache Software Foundation. All rights reserved.