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, populateResourcescheckAuthorizationForMetrics, checkPropertyCategory, getClustersNameFromResources, getClustersResourceId, getPropertyInfoMap, getResourceTypeFromResources, getValue, isSupportedPropertyId, substituteArgument, updateComponentMetricMap, updatePropertyInfo, updatePropertyInfoMapcheckCategory, checkConfigPropertyIds, containsArguments, getCategoryIds, getPropertyIds, getRegexEntry, getRegexGroups, getRequestPropertyIds, isPatternKey, isPropertyCategoryRequested, isPropertyEntryRequested, isPropertyRequested, setResourcePropertypublic 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 PropertyProvidercheckPropertyIds in class BaseProviderpublic Set<Resource> populateResourcesWithProperties(Set<Resource> resources, Request request, Set<String> propertyIds) throws SystemException
MetricsPropertyProviderpopulateResourcesWithProperties in class MetricsPropertyProviderresources - @Resourcerequest - @RequestpropertyIds - Set of idsSystemExceptionpublic Map<String,Map<String,PropertyInfo>> getComponentMetrics()
getComponentMetrics in class AbstractPropertyProviderCopyright © 2022 Apache Software Foundation. All rights reserved.