public class LatencyThresholdingSet extends ThresholdingSet
LatencyThresholdingSet class.
m_hostAddress, m_nodeId, m_repository, m_scheduledOutages, m_serviceName, m_thresholdGroups, m_thresholdsDao| Constructor and Description |
|---|
LatencyThresholdingSet(int nodeId,
String hostAddress,
String serviceName,
String location,
RrdRepository repository,
ResourceStorageDao resourceStorageDao)
Constructor for LatencyThresholdingSet.
|
| Modifier and Type | Method and Description |
|---|---|
List<Event> |
applyThresholds(String svcName,
Map<String,Double> attributes) |
boolean |
hasThresholds(Map<String,Double> attributes)
hasThresholds
|
protected boolean |
passedThresholdFilters(CollectionResourceWrapper resource,
ThresholdEntity thresholdEntity)
passedThresholdFilters
|
applyThresholds, hasThresholds, hasThresholds, initialize, initThresholdsDao, isNodeInOutage, reinitialize, reinitialize, toString, updateScheduledOutagespublic LatencyThresholdingSet(int nodeId,
String hostAddress,
String serviceName,
String location,
RrdRepository repository,
ResourceStorageDao resourceStorageDao)
throws ThresholdInitializationException
Constructor for LatencyThresholdingSet.
nodeId - a int.hostAddress - a String object.serviceName - a String object.repository - a RrdRepository object.interval - a long.ThresholdInitializationExceptionpublic boolean hasThresholds(Map<String,Double> attributes)
hasThresholds
attributes - a Map object.protected boolean passedThresholdFilters(CollectionResourceWrapper resource, ThresholdEntity thresholdEntity)
passedThresholdFilters
passedThresholdFilters in class ThresholdingSetresource - a CollectionResourceWrapper object.thresholdEntity - a ThresholdEntity object.Copyright © 2020. All rights reserved.