private boolean directionUp() {
    return critValue >= warnValue;
  }
I'm a 3 level threshold where each level corresponds to ok, warn and critical levels.
The levels are either increasing or decreasing numerical sequences.
My main responsibility is to map incoming values to {@link AlertState} based on the threshold levels.
ambari-server/src/main/java/org/apache/ambari/server/alerts/Threshold.java