code: public void setMaxBitsPerSecondThreshold(long maxBitsPerSecond) {
          //setting the maximimum threshold of bits per second that
          //we can send EVER in upstream/downstream
          //the user can later decrease this value but not increment it
          this.maxBytesPerSecond = maxBitsPerSecond/8;
          //make sure the streams parameters honor the new max limit
          setMaxBps(this.downStream, this.downStream.maxBps);
          setMaxBps(this.upStream, this.upStream.maxBps);
      }
docs: This function sets the max bits per second threshold
  {@link #setDownstreamKbps} and {@link #setDownstreamKbps(long)} won't be allowed
  to set a bandwidth higher than what specified here.
  @param maxBitsPerSecond The max bits per seconds you want this instance of StreamManager to respect.