public interface MaxMessagesRecvByteBufAllocator extends RecvByteBufAllocator
RecvByteBufAllocatorthat limits the number of read operations that will be attempted when a read operation is attempted by the event loop.
|Modifier and Type||Method and Description|
Returns the maximum number of messages to read per read loop.
Sets the maximum number of messages to read per read loop.
channelRead()event. If this value is greater than 1, an event loop might attempt to read multiple times to procure multiple messages.
MaxMessagesRecvByteBufAllocator maxMessagesPerRead(int maxMessagesPerRead)
Copyright © 2008–2022 The Netty Project. All rights reserved.