public DynamicThrottlePolicy setMaxWindowSize(double max) {
        if (max < 1)
            throw new IllegalArgumentException("Maximum window size cannot be less than one");

        this.maxWindowSize = max;
        return this;
    }
Sets the maximum number of pending operations allowed at any time, in
order to avoid using too much resources.

@param max the max to set
@return this, to allow chaining
messagebus/src/main/java/com/yahoo/messagebus/DynamicThrottlePolicy.java