@Nonnegative public double getRequestsPerSecond() { return _requestsPerSecond.getAsDouble(); }
public void record(@Nonnull Duration requestDuration) { _requestsPerSecond.record(); _averageRequestDuration.record((double) requestDuration.toMilliSeconds()); }