public class GangliaReportPropertyProvider extends AbstractPropertyProvider
Modifier and Type | Field and Description |
---|---|
protected static org.slf4j.Logger |
LOG |
Constructor and Description |
---|
GangliaReportPropertyProvider(Map<String,Map<String,PropertyInfo>> componentPropertyInfoMap,
StreamProvider streamProvider,
ComponentSSLConfiguration configuration,
GangliaHostProvider 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.
|
getComponentMetrics, getPropertyInfoMap, getPropertyInfoMap, substituteArgument, updateComponentMetricMap
checkConfigPropertyIds, checkPropertyIds, containsArguments, getPropertyIds, getRegexGroups, getRegExpKey, getRequestPropertyIds, isPatternKey, 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, GangliaHostProvider 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 © 2016. All rights reserved.