Class ThresholdEvaluatorRelativeChange

  • All Implemented Interfaces:
    ThresholdEvaluator

    public class ThresholdEvaluatorRelativeChange
    extends java.lang.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).
    Version:
    $Id: $
    Author:
    ranger