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 interfaceMaxBytesRecvBufferAllocatorRecvBufferAllocatorthat 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.interfaceMaxMessagesRecvBufferAllocatorRecvBufferAllocatorthat 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 classAdaptiveRecvBufferAllocatorTheRecvBufferAllocatorthat automatically increases and decreases the predicted buffer size on feed back.classDefaultMaxBytesRecvBufferAllocatorTheRecvBufferAllocatorthat yields a buffer size prediction based upon decrementing the value from the max bytes per read.classDefaultMaxMessagesRecvBufferAllocatorDefault implementation ofMaxMessagesRecvBufferAllocatorwhich respectsChannelOption.AUTO_READand also prevents overflow.classFixedRecvBufferAllocatorTheRecvBufferAllocatorthat always yields the same buffer size prediction.classServerChannelRecvBufferAllocatorMaxMessagesRecvBufferAllocatorimplementation which should be used forServerChannels.Fields in io.netty5.channel with type parameters of type RecvBufferAllocator Modifier and Type Field Description static ChannelOption<RecvBufferAllocator>ChannelOption. RCVBUFFER_ALLOCATORConstructors 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 classKQueueGuessRecvBufferAllocatorDefaultMaxMessagesRecvBufferAllocatorwhich 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)
-