docs: synchronized void setLimits(int txnsPerSec, int maxOutstanding) {
          m_autoTune = false;
          /*
           * If the rate limit is some reasonably low value then go through the effort
           * of rate limiting
           */
          if (txnsPerSec < Integer.MAX_VALUE / 2) {
              m_doesAnyTuning = true;
          }
          m_targetTxnsPerSecond = txnsPerSec;
          m_maxOutstandingTxns = maxOutstanding;
          m_outstandingTxnsSemaphore.drainPermits();
          m_outstandingTxnsSemaphore.release(maxOutstanding);
      }