public class AMSHostPropertyProvider extends AMSPropertyProvider
clusterNamePropertyId, componentNamePropertyId, configuration, hostNamePropertyId, hostProvider, metricsPaddingMethod, questionMarkPattern, streamProvider
Constructor and Description |
---|
AMSHostPropertyProvider(Map<String,Map<String,PropertyInfo>> componentPropertyInfoMap,
URLStreamProvider streamProvider,
ComponentSSLConfiguration configuration,
TimelineMetricCacheProvider cacheProvider,
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 String |
getHostName(Resource resource)
Get the host name for the given resource.
|
checkPropertyIds, getComponentMetrics, getOverridenComponentName, populateResourcesWithProperties
createInstance, 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 AMSHostPropertyProvider(Map<String,Map<String,PropertyInfo>> componentPropertyInfoMap, URLStreamProvider streamProvider, ComponentSSLConfiguration configuration, TimelineMetricCacheProvider cacheProvider, 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 resourceCopyright © 2022 Apache Software Foundation. All rights reserved.