docs: synchronized void updateLatency(long requestCreateTime) {
          long latency = System.currentTimeMillis() - requestCreateTime;
          totalLatency += latency;
          count++;
          if (latency < minLatency) {
              minLatency = latency;
          }
          if (latency > maxLatency) {
              maxLatency = latency;
          }
      }