private void incrementBy(long waitTime) {
      this.lockWaitTotal.incr(waitTime);
      this.lockWaitCount.incr();

      if (waitTime > this.lockWaitMax.value()) {
        this.lockWaitMax.incr(waitTime - this.lockWaitMax.value());
      }
    }
Helper to increment the monitoring counters.
Called from the lock implementations to increment the total/max/coun
values of the monitoring counters.

@param waitTime The actual wait time (in nanos) for the lock operation
llap-common/src/java/org/apache/hadoop/hive/llap/metrics/ReadWriteLockMetrics.java