code: public void setWriteLimit(long writeLimit) {
          this.writeLimit = writeLimit;
          if (trafficCounter != null) {
              trafficCounter.resetAccounting(TrafficCounter.milliSecondFromNano());
          }
      }
docs: <p>Note the change will be taken as best effort, meaning
  that all already scheduled traffics will not be
  changed, but only applied to new traffics.</p>
  <p>So the expected usage of this method is to be used not too often,
  accordingly to the traffic shaping configuration.</p>
  
  @param writeLimit the writeLimit to set