- java.lang.Object
-
- io.netty5.channel.DefaultMaxMessagesRecvBufferAllocator
-
- io.netty5.channel.ServerChannelRecvBufferAllocator
-
- All Implemented Interfaces:
MaxMessagesRecvBufferAllocator
,RecvBufferAllocator
public final class ServerChannelRecvBufferAllocator extends DefaultMaxMessagesRecvBufferAllocator
MaxMessagesRecvBufferAllocator
implementation which should be used forServerChannel
s.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class io.netty5.channel.DefaultMaxMessagesRecvBufferAllocator
DefaultMaxMessagesRecvBufferAllocator.MaxMessageHandle
-
Nested classes/interfaces inherited from interface io.netty5.channel.RecvBufferAllocator
RecvBufferAllocator.Handle
-
-
Constructor Summary
Constructors Constructor Description ServerChannelRecvBufferAllocator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RecvBufferAllocator.Handle
newHandle()
Creates a new handle.-
Methods inherited from class io.netty5.channel.DefaultMaxMessagesRecvBufferAllocator
maxMessagesPerRead, maxMessagesPerRead
-
-
-
-
Method Detail
-
newHandle
public RecvBufferAllocator.Handle newHandle()
Description copied from interface:RecvBufferAllocator
Creates a new handle. The handle provides the actual operations and keeps the internal information which is required for predicting an optimal buffer capacity.
-
-