Class IOUringRecvByteAllocatorHandle
java.lang.Object
io.netty.channel.RecvByteBufAllocator.DelegatingHandle
io.netty.incubator.channel.uring.IOUringRecvByteAllocatorHandle
- All Implemented Interfaces:
io.netty.channel.RecvByteBufAllocator.ExtendedHandle, io.netty.channel.RecvByteBufAllocator.Handle
final class IOUringRecvByteAllocatorHandle
extends io.netty.channel.RecvByteBufAllocator.DelegatingHandle
implements io.netty.channel.RecvByteBufAllocator.ExtendedHandle
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final io.netty.channel.unix.PreferredDirectByteBufAllocatorprivate boolean -
Constructor Summary
ConstructorsConstructorDescriptionIOUringRecvByteAllocatorHandle(io.netty.channel.RecvByteBufAllocator.ExtendedHandle handle) -
Method Summary
Modifier and TypeMethodDescriptionio.netty.buffer.ByteBufallocate(io.netty.buffer.ByteBufAllocator alloc) booleanbooleancontinueReading(io.netty.util.UncheckedBooleanSupplier maybeMoreDataSupplier) (package private) voidMethods inherited from class io.netty.channel.RecvByteBufAllocator.DelegatingHandle
attemptedBytesRead, attemptedBytesRead, delegate, guess, incMessagesRead, lastBytesRead, lastBytesRead, readComplete, resetMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface io.netty.channel.RecvByteBufAllocator.Handle
attemptedBytesRead, attemptedBytesRead, guess, incMessagesRead, lastBytesRead, lastBytesRead, readComplete, reset
-
Field Details
-
preferredDirectByteBufAllocator
private final io.netty.channel.unix.PreferredDirectByteBufAllocator preferredDirectByteBufAllocator -
rdHupReceived
private boolean rdHupReceived
-
-
Constructor Details
-
IOUringRecvByteAllocatorHandle
IOUringRecvByteAllocatorHandle(io.netty.channel.RecvByteBufAllocator.ExtendedHandle handle)
-
-
Method Details
-
rdHupReceived
void rdHupReceived() -
allocate
public io.netty.buffer.ByteBuf allocate(io.netty.buffer.ByteBufAllocator alloc) - Specified by:
allocatein interfaceio.netty.channel.RecvByteBufAllocator.Handle- Overrides:
allocatein classio.netty.channel.RecvByteBufAllocator.DelegatingHandle
-
continueReading
public boolean continueReading()- Specified by:
continueReadingin interfaceio.netty.channel.RecvByteBufAllocator.Handle- Overrides:
continueReadingin classio.netty.channel.RecvByteBufAllocator.DelegatingHandle
-
continueReading
public boolean continueReading(io.netty.util.UncheckedBooleanSupplier maybeMoreDataSupplier) - Specified by:
continueReadingin interfaceio.netty.channel.RecvByteBufAllocator.ExtendedHandle
-