程序包 | 说明 |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
限定符和类型 | 类和说明 |
---|---|
class |
AdaptiveRecvByteBufAllocator
The
RecvByteBufAllocator that automatically increases and
decreases the predicted buffer size on feed back. |
class |
DefaultMaxMessagesRecvByteBufAllocator
Default implementation of
MaxMessagesRecvByteBufAllocator which respects ChannelConfig.isAutoRead()
and also prevents overflow. |
class |
FixedRecvByteBufAllocator
The
RecvByteBufAllocator that always yields the same buffer
size prediction. |
class |
ServerChannelRecvByteBufAllocator
MaxMessagesRecvByteBufAllocator implementation which should be used for ServerChannel s. |
限定符和类型 | 方法和说明 |
---|---|
MaxMessagesRecvByteBufAllocator |
MaxMessagesRecvByteBufAllocator.maxMessagesPerRead(int maxMessagesPerRead)
Sets the maximum number of messages to read per read loop.
|
MaxMessagesRecvByteBufAllocator |
DefaultMaxMessagesRecvByteBufAllocator.maxMessagesPerRead(int maxMessagesPerRead) |