if(direction == BREACHED_UPPER) {
if(value < thresholdValues.getHighThreshold()) {
thresholdCrossed = false;
direction = CLEARED;
/* the next 2 lines produce a cleared event*/
thresholdValues.incThresholdClearedCount();
notifyListeners(calculable, ThresholdType.CLEARED);
checkLowThresholdBreach(calculable);
} else {
checkHighThresholdBreach(calculable);
}