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,
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, toString, updateScheduledOutages
public LatencyThresholdingSet(int nodeId, String hostAddress, String serviceName, RrdRepository repository, ResourceStorageDao resourceStorageDao)
Constructor for LatencyThresholdingSet.
nodeId
- a int.hostAddress
- a String
object.serviceName
- a String
object.repository
- a RrdRepository
object.interval
- a long.public boolean hasThresholds(Map<String,Double> attributes)
hasThresholds
attributes
- a Map
object.protected boolean passedThresholdFilters(CollectionResourceWrapper resource, ThresholdEntity thresholdEntity)
passedThresholdFilters
passedThresholdFilters
in class ThresholdingSet
resource
- a CollectionResourceWrapper
object.thresholdEntity
- a ThresholdEntity
object.Copyright © 2017. All rights reserved.