public void updateDesiredRatePerSecond(double desiredRatePerSec) {
    synchronized (lock) {
      this.desiredRatePerSec = desiredRatePerSec;
    }
  }
Update desiredRatePerSec for this throttler.
@param desiredRatePerSec the new desiredRatePerSec
ambry-utils/src/main/java/com/github/ambry/utils/Throttler.java