code: public long getMaxTime() {
      lock.lock();
      try {
        if (printMinMax) {
          return previousIntervalMinMax.maxTime;
        }
        return minMax.maxTime;
      } finally {
        lock.unlock();
      }
    }
docs: The max time for a single operation since the last reset
  {@link #resetMinMax()}
  @return max time for an operation