netty5/transport-udt/src/main/java/io/netty/channel/udt
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
..
nio maxBytesPerRead channel configuration 2015-08-05 23:59:54 -07:00
DefaultUdtChannelConfig.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
DefaultUdtServerChannelConfig.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
UdtChannel.java Rename from io.netty.transport.* to io.netty.channel.* 2013-01-14 21:34:58 +01:00
UdtChannelConfig.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
UdtChannelOption.java maxBytesPerRead channel configuration 2015-08-05 23:59:54 -07:00
UdtMessage.java Enable a user specify an arbitrary information with ReferenceCounted.touch() 2014-02-13 18:16:25 -08:00
UdtServerChannel.java Fix inspector warnings 2013-02-11 16:52:43 +09:00
UdtServerChannelConfig.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