程序包 | 说明 |
---|---|
io.netty.channel |
The core channel API which is asynchronous and event-driven abstraction of
various transports such as a
NIO Channel.
|
限定符和类型 | 类和说明 |
---|---|
class |
DefaultMaxBytesRecvByteBufAllocator
The
RecvByteBufAllocator that yields a buffer size prediction based upon decrementing the value from
the max bytes per read. |
限定符和类型 | 方法和说明 |
---|---|
MaxBytesRecvByteBufAllocator |
MaxBytesRecvByteBufAllocator.maxBytesPerIndividualRead(int maxBytesPerIndividualRead)
Sets the maximum number of bytes to read per individual read operation.
|
MaxBytesRecvByteBufAllocator |
MaxBytesRecvByteBufAllocator.maxBytesPerRead(int maxBytesPerRead)
Sets the maximum number of bytes to read per read loop.
|
MaxBytesRecvByteBufAllocator |
MaxBytesRecvByteBufAllocator.maxBytesPerReadPair(int maxBytesPerRead,
int maxBytesPerIndividualRead)
Sets the maximum number of bytes to read for a read loop and per individual read operation.
|