Package | Description |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
Modifier and Type | Class and Description |
---|---|
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. |
Modifier and Type | Method and Description |
---|---|
MaxMessagesRecvByteBufAllocator |
MaxMessagesRecvByteBufAllocator.maxMessagesPerRead(int maxMessagesPerRead)
Sets the maximum number of messages to read per read loop.
|
MaxMessagesRecvByteBufAllocator |
DefaultMaxMessagesRecvByteBufAllocator.maxMessagesPerRead(int maxMessagesPerRead) |
Copyright © 2008–2017 The Netty Project. All rights reserved.