Package io.netty5.channel.kqueue
Class KQueueReadHandleFactory
- java.lang.Object
-
- io.netty5.channel.MaxMessagesReadHandleFactory
-
- io.netty5.channel.kqueue.KQueueReadHandleFactory
-
- All Implemented Interfaces:
io.netty5.channel.ReadHandleFactory
public final class KQueueReadHandleFactory extends io.netty5.channel.MaxMessagesReadHandleFactoryMaxMessagesReadHandleFactorywhich always try to allocate buffers as big as kqueue tells us in terms of pending bytes to read.
-
-
Constructor Summary
Constructors Constructor Description KQueueReadHandleFactory()KQueueReadHandleFactory(int maxMessagesPerRead)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description io.netty5.channel.MaxMessagesReadHandleFactory.MaxMessageReadHandlenewMaxMessageHandle(int maxMessagesPerRead)
-