Package org.opennms.netmgt.threshd
Class ThresholdEvaluatorAbsoluteChange
- java.lang.Object
-
- org.opennms.netmgt.threshd.ThresholdEvaluatorAbsoluteChange
-
- All Implemented Interfaces:
ThresholdEvaluator
public class ThresholdEvaluatorAbsoluteChange extends java.lang.Object implements ThresholdEvaluator
Implements an absolute change threshold check. If the value changes by more than the specified amount then it will trigger. As for relative change, re-arm and trigger are unused- Version:
- $Id: $
- Author:
- ranger
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
ThresholdEvaluatorAbsoluteChange.ThresholdEvaluatorStateAbsoluteChange
-
Constructor Summary
Constructors Constructor Description ThresholdEvaluatorAbsoluteChange()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ThresholdEvaluatorState
getThresholdEvaluatorState(BaseThresholdDefConfigWrapper threshold, ThresholdingSession thresholdingSession)
getThresholdEvaluatorStateboolean
supportsType(ThresholdType type)
supportsType
-
-
-
Method Detail
-
getThresholdEvaluatorState
public ThresholdEvaluatorState getThresholdEvaluatorState(BaseThresholdDefConfigWrapper threshold, ThresholdingSession thresholdingSession)
getThresholdEvaluatorState
- Specified by:
getThresholdEvaluatorState
in interfaceThresholdEvaluator
- Parameters:
threshold
- aBaseThresholdDefConfigWrapper
object.- Returns:
- a
ThresholdEvaluatorState
object.
-
supportsType
public boolean supportsType(ThresholdType type)
supportsType
- Specified by:
supportsType
in interfaceThresholdEvaluator
- Parameters:
type
- aString
object.- Returns:
- a boolean.
-
-