public abstract class AMSPropertyProvider extends MetricsPropertyProvider
clusterNamePropertyId, componentNamePropertyId, configuration, hostNamePropertyId, hostProvider, metricsPaddingMethod, questionMarkPattern, streamProvider
Constructor and Description |
---|
AMSPropertyProvider(Map<String,Map<String,PropertyInfo>> componentPropertyInfoMap,
URLStreamProvider streamProvider,
ComponentSSLConfiguration configuration,
TimelineMetricCacheProvider cacheProvider,
MetricHostProvider hostProvider,
String clusterNamePropertyId,
String hostNamePropertyId,
String componentNamePropertyId) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
checkPropertyIds(Set<String> propertyIds)
Support properties with aggregate functions and metrics padding method.
|
Map<String,Map<String,PropertyInfo>> |
getComponentMetrics()
Return a propertyInfoMap for all metrics.
|
protected String |
getOverridenComponentName(Resource resource) |
Set<Resource> |
populateResourcesWithProperties(Set<Resource> resources,
Request request,
Set<String> propertyIds)
Delegate implementation of populating resources to concrete providers.
|
createInstance, getComponentName, getHostName, getSetString, populateResources
checkAuthorizationForMetrics, checkPropertyCategory, getClustersNameFromResources, getClustersResourceId, getPropertyInfoMap, getResourceTypeFromResources, getValue, isSupportedPropertyId, substituteArgument, updateComponentMetricMap, updatePropertyInfo, updatePropertyInfoMap
checkCategory, checkConfigPropertyIds, containsArguments, getCategoryIds, getPropertyIds, getRegexEntry, getRegexGroups, getRequestPropertyIds, isPatternKey, isPropertyCategoryRequested, isPropertyEntryRequested, isPropertyRequested, setResourceProperty
public AMSPropertyProvider(Map<String,Map<String,PropertyInfo>> componentPropertyInfoMap, URLStreamProvider streamProvider, ComponentSSLConfiguration configuration, TimelineMetricCacheProvider cacheProvider, MetricHostProvider hostProvider, String clusterNamePropertyId, String hostNamePropertyId, String componentNamePropertyId)
public Set<String> checkPropertyIds(Set<String> propertyIds)
checkPropertyIds
in interface PropertyProvider
checkPropertyIds
in class BaseProvider
public Set<Resource> populateResourcesWithProperties(Set<Resource> resources, Request request, Set<String> propertyIds) throws SystemException
MetricsPropertyProvider
populateResourcesWithProperties
in class MetricsPropertyProvider
resources
- @Resourcerequest
- @RequestpropertyIds
- Set of idsSystemException
public Map<String,Map<String,PropertyInfo>> getComponentMetrics()
getComponentMetrics
in class AbstractPropertyProvider
Copyright © 2022 Apache Software Foundation. All rights reserved.