org.opennms.netmgt.threshd
Class LatencyThresholdingSet

java.lang.Object
  extended by org.opennms.netmgt.threshd.ThresholdingSet
      extended by org.opennms.netmgt.threshd.LatencyThresholdingSet

public class LatencyThresholdingSet
extends ThresholdingSet

LatencyThresholdingSet class.

Version:
$Id: $
Author:
Alejandro Galue

Field Summary
 
Fields inherited from class org.opennms.netmgt.threshd.ThresholdingSet
m_configManager, m_hasThresholds, m_hostAddress, m_initialized, m_nodeId, m_repository, m_scheduledOutages, m_serviceName, m_thresholdGroups, m_thresholdsDao
 
Constructor Summary
LatencyThresholdingSet(int nodeId, String hostAddress, String serviceName, RrdRepository repository)
          Constructor for LatencyThresholdingSet.
 
Method Summary
 List<Event> applyThresholds(String svcName, Map<String,Double> attributes)
          
 boolean hasThresholds(Map<String,Double> attributes)
          hasThresholds
protected  boolean passedThresholdFilters(CollectionResourceWrapper resource, ThresholdEntity thresholdEntity)
          passedThresholdFilters
 
Methods inherited from class org.opennms.netmgt.threshd.ThresholdingSet
applyThresholds, hasThresholds, hasThresholds, initialize, initThresholdsDao, isNodeInOutage, log, mergeThresholdGroups, reinitialize, toString, updateScheduledOutages
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LatencyThresholdingSet

public LatencyThresholdingSet(int nodeId,
                              String hostAddress,
                              String serviceName,
                              RrdRepository repository)

Constructor for LatencyThresholdingSet.

Parameters:
nodeId - a int.
hostAddress - a String object.
serviceName - a String object.
repository - a RrdRepository object.
interval - a long.
Method Detail

hasThresholds

public boolean hasThresholds(Map<String,Double> attributes)

hasThresholds

Parameters:
attributes - a Map object.
Returns:
a boolean.

applyThresholds

public List<Event> applyThresholds(String svcName,
                                   Map<String,Double> attributes)


passedThresholdFilters

protected boolean passedThresholdFilters(CollectionResourceWrapper resource,
                                         ThresholdEntity thresholdEntity)

passedThresholdFilters

Overrides:
passedThresholdFilters in class ThresholdingSet
Parameters:
resource - a CollectionResourceWrapper object.
thresholdEntity - a ThresholdEntity object.
Returns:
a boolean.


Copyright © 2011. All Rights Reserved.