netty5/transport-rxtx/src/main/java/io/netty/channel/rxtx
jiafu1115 3e5dcb5f3e [#3806] Setting WRITE_BUFFER_LOW_WATER_MARK before WRITE_BUFFER_HIGH_WATER_MARK results in an internal Exception
Motivation:

Setting the WRITE_BUFFER_LOW_WATER_MARK before WRITE_BUFFER_HIGH_WATER_MARK results in an internal Exception (appears only in the logs) if the value is larger than the default high water mark value. The WRITE_BUFFER_HIGH_WATER_MARK call appears to have no effect in this context.

Setting the values in the reverse order works.

Modifications:

- deprecated ChannelOption.WRITE_BUFFER_HIGH_WATER_MARK and
ChannelOption.WRITE_BUFFER_LOW_WATER_MARK.
- add one new option called ChannelOption.WRITE_BUFFER_WATER_MARK.

Result:
The high/low water mark values limits caused by default values are removed.

Setting the WRITE_BUFFER_LOW_WATER_MARK before WRITE_BUFFER_HIGH_WATER_MARK results in an internal Exception (appears only in the logs) if the value is larger than the default high water mark value. The WRITE_BUFFER_HIGH_WATER_MARK call appears to have no effect in this context.

Setting the values in the reverse order works.
2016-03-31 13:44:44 +02:00
..
DefaultRxtxChannelConfig.java [#3806] Setting WRITE_BUFFER_LOW_WATER_MARK before WRITE_BUFFER_HIGH_WATER_MARK results in an internal Exception 2016-03-31 13:44:44 +02:00
package-info.java Rename from io.netty.transport.* to io.netty.channel.* 2013-01-14 21:34:58 +01:00
RxtxChannel.java Use OneTimeTask where possible to reduce object creation 2015-11-20 14:39:06 -08:00
RxtxChannelConfig.java [#3806] Setting WRITE_BUFFER_LOW_WATER_MARK before WRITE_BUFFER_HIGH_WATER_MARK results in an internal Exception 2016-03-31 13:44:44 +02:00
RxtxChannelOption.java Ensure backward-compability with 4.0 2015-04-19 13:25:42 +02:00
RxtxDeviceAddress.java Remove 'get' prefix 2013-01-17 15:06:46 +09:00