Uses of Interface
io.netty5.channel.RecvBufferAllocator
-
Packages that use RecvBufferAllocator Package Description io.netty5.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.io.netty5.channel.kqueue BSD specific transport.io.netty5.channel.nio NIO-based channel API implementation - recommended for a large number of connections (>= 1000). -
-
Uses of RecvBufferAllocator in io.netty5.channel
Subinterfaces of RecvBufferAllocator in io.netty5.channel Modifier and Type Interface Description interface
MaxBytesRecvBufferAllocator
RecvBufferAllocator
that limits a read operation based upon a maximum value per individual read and a maximum amount when a read operation is attempted by the event loop.interface
MaxMessagesRecvBufferAllocator
RecvBufferAllocator
that limits the number of read operations that will be attempted when a read operation is attempted by the event loop.Classes in io.netty5.channel that implement RecvBufferAllocator Modifier and Type Class Description class
AdaptiveRecvBufferAllocator
TheRecvBufferAllocator
that automatically increases and decreases the predicted buffer size on feed back.class
DefaultMaxBytesRecvBufferAllocator
TheRecvBufferAllocator
that yields a buffer size prediction based upon decrementing the value from the max bytes per read.class
DefaultMaxMessagesRecvBufferAllocator
Default implementation ofMaxMessagesRecvBufferAllocator
which respectsChannelOption.AUTO_READ
and also prevents overflow.class
FixedRecvBufferAllocator
TheRecvBufferAllocator
that always yields the same buffer size prediction.class
ServerChannelRecvBufferAllocator
MaxMessagesRecvBufferAllocator
implementation which should be used forServerChannel
s.Fields in io.netty5.channel with type parameters of type RecvBufferAllocator Modifier and Type Field Description static ChannelOption<RecvBufferAllocator>
ChannelOption. RCVBUFFER_ALLOCATOR
Constructors in io.netty5.channel with parameters of type RecvBufferAllocator Constructor Description AbstractChannel(P parent, EventLoop eventLoop, ChannelMetadata metadata, RecvBufferAllocator defaultRecvBufferAllocator)
Creates a new instance.AbstractChannel(P parent, EventLoop eventLoop, ChannelMetadata metadata, RecvBufferAllocator defaultRecvBufferAllocator, ChannelId id)
Creates a new instance. -
Uses of RecvBufferAllocator in io.netty5.channel.kqueue
Classes in io.netty5.channel.kqueue that implement RecvBufferAllocator Modifier and Type Class Description class
KQueueGuessRecvBufferAllocator
DefaultMaxMessagesRecvBufferAllocator
which always try to allocate buffers as big as kqueue tells us in terms of pending bytes to read. -
Uses of RecvBufferAllocator in io.netty5.channel.nio
Constructors in io.netty5.channel.nio with parameters of type RecvBufferAllocator Constructor Description AbstractNioChannel(P parent, EventLoop eventLoop, ChannelMetadata metadata, RecvBufferAllocator defaultRecvAllocator, SelectableChannel ch, int readInterestOp)
Create a new instanceAbstractNioMessageChannel(P parent, EventLoop eventLoop, ChannelMetadata metadata, RecvBufferAllocator defaultRecvAllocator, SelectableChannel ch, int readInterestOp)
-