org.opennms.netmgt.threshd
Interface ThresholdEvaluatorState
- All Known Implementing Classes:
- ThresholdEvaluatorAbsoluteChange.ThresholdEvaluatorStateAbsoluteChange, ThresholdEvaluatorHighLow.ThresholdEvaluatorStateHighLow, ThresholdEvaluatorRearmingAbsoluteChange.ThresholdEvaluatorStateRearmingAbsoluteChange, ThresholdEvaluatorRelativeChange.ThresholdEvaluatorStateRelativeChange
public interface ThresholdEvaluatorState
Provides a method to evaluate a threshold and do base population of
events. There is an instance of ThresholdEvaluatorState for each
configured thresholding type on each configured data source on each
configured node/interface/etc.. The object that implements this
interface usually also stores state (hence the name).
evaluate
ThresholdEvaluatorState.Status evaluate(double dsValue)
getEventForState
Event getEventForState(ThresholdEvaluatorState.Status status,
Date date,
double dsValue,
String instance)
getThresholdConfig
BaseThresholdDefConfigWrapper getThresholdConfig()
getCleanClone
ThresholdEvaluatorState getCleanClone()
- Returns a "clean" (armed, non-triggered) clone of this object
- Returns:
Copyright © 2009. All Rights Reserved.