public class GangliaReportPropertyProvider extends MetricsReportPropertyProvider
clusterNamePropertyId, configuration, DEFAULT_PADDING_METHOD, hostProvider, streamProvider
Constructor and Description |
---|
GangliaReportPropertyProvider(Map<String,Map<String,PropertyInfo>> componentPropertyInfoMap,
StreamProvider streamProvider,
ComponentSSLConfiguration configuration,
MetricHostProvider hostProvider,
String clusterNamePropertyId) |
Modifier and Type | Method and Description |
---|---|
protected String |
getSpec(String clusterName,
String report)
Get the spec to locate the Ganglia stream from the given
request info.
|
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.
|
createInstance
checkAuthorizationForMetrics, checkPropertyCategory, getClustersNameFromResources, getClustersResourceId, getComponentMetrics, getPropertyInfoMap, getResourceTypeFromResources, getValue, isSupportedPropertyId, substituteArgument, updateComponentMetricMap, updatePropertyInfo, updatePropertyInfoMap
checkCategory, checkConfigPropertyIds, checkPropertyIds, containsArguments, getCategoryIds, getPropertyIds, getRegexEntry, getRegexGroups, getRequestPropertyIds, isPatternKey, isPropertyCategoryRequested, isPropertyEntryRequested, isPropertyRequested, setResourceProperty
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
checkPropertyIds
public GangliaReportPropertyProvider(Map<String,Map<String,PropertyInfo>> componentPropertyInfoMap, StreamProvider streamProvider, ComponentSSLConfiguration configuration, MetricHostProvider hostProvider, String clusterNamePropertyId)
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 populatedprotected String getSpec(String clusterName, String report) throws SystemException
clusterName
- the cluster namereport
- the reportSystemException
- if unable to ge the Ganglia Collector host nameCopyright © 2022 Apache Software Foundation. All rights reserved.