netty5/transport-udt/src/main/java/io/netty/channel/udt
Scott Mitchell cf171ff525 maxBytesPerRead channel configuration
Motiviation:
The current read loops don't fascilitate reading a maximum amount of bytes. This capability is useful to have more fine grain control over how much data is injested.

Modifications:
- Add a setMaxBytesPerRead(int) and getMaxBytesPerRead() to ChannelConfig
- Add a setMaxBytesPerIndividualRead(int) and getMaxBytesPerIndividualRead to ChannelConfig
- Add methods to RecvByteBufAllocator so that a pluggable scheme can be used to control the behavior of the read loop.
- Modify read loop for all transport types to respect the new RecvByteBufAllocator API

Result:
The ability to control how many bytes are read for each read operation/loop, and a more extensible read loop.
2015-08-05 23:59:54 -07:00
..
nio maxBytesPerRead channel configuration 2015-08-05 23:59:54 -07:00
DefaultUdtChannelConfig.java maxBytesPerRead channel configuration 2015-08-05 23:59:54 -07:00
DefaultUdtServerChannelConfig.java maxBytesPerRead channel configuration 2015-08-05 23:59:54 -07: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 maxBytesPerRead channel configuration 2015-08-05 23:59:54 -07: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 maxBytesPerRead channel configuration 2015-08-05 23:59:54 -07:00