org.opennms.netmgt.threshd
Class ThresholdingSet

java.lang.Object
  extended by org.opennms.netmgt.threshd.ThresholdingSet
Direct Known Subclasses:
CollectorThresholdingSet, LatencyThresholdingSet

public abstract class ThresholdingSet
extends Object

Author:
Alejandro Galue

Constructor Summary
ThresholdingSet(int nodeId, String hostAddress, String serviceName, RrdRepository repository)
           
 
Method Summary
protected  List<Event> applyThresholds(CollectionResourceWrapper resourceWrapper, Map<String,CollectionAttribute> attributesMap)
           
 boolean hasThresholds()
           
 boolean hasThresholds(String resourceTypeName, String attributeName)
           
protected  void initialize()
           
protected  void initThresholdsDao()
           
protected  Category log()
           
protected  void mergeThresholdGroups()
           
protected  boolean passedThresholdFilters(CollectionResourceWrapper resource, ThresholdEntity thresholdEntity)
           
 void reinitialize()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ThresholdingSet

public ThresholdingSet(int nodeId,
                       String hostAddress,
                       String serviceName,
                       RrdRepository repository)
Method Detail

initialize

protected void initialize()

reinitialize

public void reinitialize()

mergeThresholdGroups

protected void mergeThresholdGroups()

hasThresholds

public boolean hasThresholds()

hasThresholds

public boolean hasThresholds(String resourceTypeName,
                             String attributeName)

applyThresholds

protected List<Event> applyThresholds(CollectionResourceWrapper resourceWrapper,
                                      Map<String,CollectionAttribute> attributesMap)

passedThresholdFilters

protected boolean passedThresholdFilters(CollectionResourceWrapper resource,
                                         ThresholdEntity thresholdEntity)

initThresholdsDao

protected void initThresholdsDao()

toString

public String toString()
Overrides:
toString in class Object

log

protected Category log()


Copyright © 2009. All Rights Reserved.