Class PendingZeroCopyWrites.PendingWrite
java.lang.Object
io.netty.channel.uring.PendingZeroCopyWrites.PendingWrite
- All Implemented Interfaces:
ChannelOutboundBuffer.MessageProcessor
- Enclosing class:
PendingZeroCopyWrites
static final class PendingZeroCopyWrites.PendingWrite
extends java.lang.Object
implements ChannelOutboundBuffer.MessageProcessor
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) voidadd(ReferenceCounted reference) booleanprocessMessage(java.lang.Object msg) Will be called for each flushed message until it either there are no more flushed messages or this method returnsfalse.private voidrelease()(package private) voidretain(ChannelOutboundBuffer buffer, int iovCount) Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
references
-
count
private int count -
remaining
private int remaining
-
-
Constructor Details
-
PendingWrite
PendingWrite()
-
-
Method Details
-
retain
-
processMessage
public boolean processMessage(java.lang.Object msg) Description copied from interface:ChannelOutboundBuffer.MessageProcessorWill be called for each flushed message until it either there are no more flushed messages or this method returnsfalse.- Specified by:
processMessagein interfaceChannelOutboundBuffer.MessageProcessor
-
add
-
release
private void release()
-