/**
  * Change the underlying limitations.
  *
  * @param newWriteLimit The new write limit (in bytes)
  * @param newReadLimit The new read limit (in bytes)
  */
 public void configure(long newWriteLimit, long newReadLimit) {
   writeLimit = newWriteLimit;
   readLimit = newReadLimit;
   if (trafficCounter != null) {
     trafficCounter.resetAccounting(System.currentTimeMillis() + 1);
   }
 }