public class CollectorThresholdingSet extends ThresholdingSet
CollectorThresholdingSet class.
m_hostAddress, m_nodeId, m_repository, m_scheduledOutages, m_serviceName, m_thresholdGroups, m_thresholdsDao| Constructor and Description |
|---|
CollectorThresholdingSet(int nodeId,
String hostAddress,
String serviceName,
RrdRepository repository,
ServiceParameters svcParams,
ResourceStorageDao resourceStorageDao)
Constructor for CollectorThresholdingSet.
|
| Modifier and Type | Method and Description |
|---|---|
List<Event> |
applyThresholds(CollectionResource resource,
Map<String,CollectionAttribute> attributesMap,
Date collectionTimestamp) |
boolean |
hasThresholds(CollectionAttribute attribute)
hasThresholds
|
protected boolean |
isCollectionEnabled(CollectionResource resource) |
protected boolean |
passedThresholdFilters(CollectionResourceWrapper resource,
ThresholdEntity thresholdEntity)
passedThresholdFilters
|
void |
setCounterReset(boolean counterReset) |
applyThresholds, hasThresholds, hasThresholds, initialize, initThresholdsDao, isNodeInOutage, reinitialize, reinitialize, toString, updateScheduledOutagespublic CollectorThresholdingSet(int nodeId,
String hostAddress,
String serviceName,
RrdRepository repository,
ServiceParameters svcParams,
ResourceStorageDao resourceStorageDao)
throws ThresholdInitializationException
Constructor for CollectorThresholdingSet.
nodeId - a int.hostAddress - a String object.serviceName - a String object.repository - a RrdRepository object.svcParams - a ServiceParameters object.ThresholdInitializationExceptionpublic void setCounterReset(boolean counterReset)
public boolean hasThresholds(CollectionAttribute attribute)
hasThresholds
attribute - a CollectionAttribute object.public List<Event> applyThresholds(CollectionResource resource, Map<String,CollectionAttribute> attributesMap, Date collectionTimestamp)
protected boolean passedThresholdFilters(CollectionResourceWrapper resource, ThresholdEntity thresholdEntity)
passedThresholdFilters
passedThresholdFilters in class ThresholdingSetresource - a CollectionResourceWrapper object.thresholdEntity - a ThresholdEntity object.protected boolean isCollectionEnabled(CollectionResource resource)
Copyright © 2020. All rights reserved.