public class MetricsPropertyProviderProxy extends AbstractPropertyProvider
Constructor and Description |
---|
MetricsPropertyProviderProxy(Resource.InternalType type,
Map<String,Map<String,PropertyInfo>> componentPropertyInfoMap,
URLStreamProvider streamProvider,
ComponentSSLConfiguration configuration,
TimelineMetricCacheProvider cacheProvider,
MetricHostProvider hostProvider,
MetricsServiceProvider serviceProvider,
String clusterNamePropertyId,
String hostNamePropertyId,
String componentNamePropertyId) |
Modifier and Type | Method and Description |
---|---|
Set<String> |
checkPropertyIds(Set<String> propertyIds)
Allow delegates to support special properties not stack defined.
|
Set<Resource> |
populateResources(Set<Resource> resources,
Request request,
Predicate predicate)
Populate the given set of resource with any properties that this property
provider can provide and return a populated set of resources.
|
checkAuthorizationForMetrics, checkPropertyCategory, getClustersNameFromResources, getClustersResourceId, getComponentMetrics, getPropertyInfoMap, getResourceTypeFromResources, getValue, isSupportedPropertyId, substituteArgument, updateComponentMetricMap, updatePropertyInfo, updatePropertyInfoMap
checkCategory, checkConfigPropertyIds, containsArguments, getCategoryIds, getPropertyIds, getRegexEntry, getRegexGroups, getRequestPropertyIds, isPatternKey, isPropertyCategoryRequested, isPropertyEntryRequested, isPropertyRequested, setResourceProperty
public MetricsPropertyProviderProxy(Resource.InternalType type, Map<String,Map<String,PropertyInfo>> componentPropertyInfoMap, URLStreamProvider streamProvider, ComponentSSLConfiguration configuration, TimelineMetricCacheProvider cacheProvider, MetricHostProvider hostProvider, MetricsServiceProvider serviceProvider, String clusterNamePropertyId, String hostNamePropertyId, String componentNamePropertyId)
public Set<String> checkPropertyIds(Set<String> propertyIds)
checkPropertyIds
in interface PropertyProvider
checkPropertyIds
in class BaseProvider
public Set<Resource> populateResources(Set<Resource> resources, Request request, Predicate predicate) throws SystemException
PropertyProvider
resources
- the resources to be populatedrequest
- the request object which defines the desired set of propertiespredicate
- the predicate object which filters which resources are returnedSystemException
- thrown if resources cannot be populatedCopyright © 2022 Apache Software Foundation. All rights reserved.