org.opennms.netmgt.threshd
Class ThresholdEvaluatorRelativeChange
java.lang.Object
org.opennms.netmgt.threshd.ThresholdEvaluatorRelativeChange
- All Implemented Interfaces:
- ThresholdEvaluator
public class ThresholdEvaluatorRelativeChange
- extends Object
- implements ThresholdEvaluator
Implements a relative change threshold check. A 'value' setting of
less than 1.0 means that a threshold will fire if the current value
is less than or equal to the previous value multiplied by the 'value'
setting. A 'value' setting greater than 1.0 causes the threshold to
fire if the current value is greater than or equal to the previous
value multiplied by the 'value' setting. A 'value' setting of 1.0
(unity) is not allowed, as it represents no change. Zero valued
samples (0.0) are ignored, as 0.0 multiplied by anything is 0.0 (if
they were not ignored, an interface that gets no traffic would always
trigger a threshold, for example).
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ThresholdEvaluatorRelativeChange
public ThresholdEvaluatorRelativeChange()
getThresholdEvaluatorState
public ThresholdEvaluatorState getThresholdEvaluatorState(BaseThresholdDefConfigWrapper threshold)
- Specified by:
getThresholdEvaluatorState in interface ThresholdEvaluator
supportsType
public boolean supportsType(String type)
- Specified by:
supportsType in interface ThresholdEvaluator
Copyright © 2009. All Rights Reserved.