Package io.netty.channel
Class ChannelOutboundBuffer.Entry
- java.lang.Object
-
- io.netty.channel.ChannelOutboundBuffer.Entry
-
- Enclosing class:
- ChannelOutboundBuffer
static final class ChannelOutboundBuffer.Entry extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description (package private) java.nio.ByteBufferbuf(package private) java.nio.ByteBuffer[]bufs(package private) booleancancelled(package private) intcountprivate ObjectPool.Handle<ChannelOutboundBuffer.Entry>handle(package private) java.lang.Objectmsg(package private) ChannelOutboundBuffer.Entrynext(package private) intpendingSize(package private) longprogress(package private) ChannelPromisepromiseprivate static ObjectPool<ChannelOutboundBuffer.Entry>RECYCLER(package private) longtotal
-
Constructor Summary
Constructors Modifier Constructor Description privateEntry(ObjectPool.Handle<ChannelOutboundBuffer.Entry> handle)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) intcancel()(package private) static ChannelOutboundBuffer.EntrynewInstance(java.lang.Object msg, int size, long total, ChannelPromise promise)(package private) voidrecycle()(package private) ChannelOutboundBuffer.EntryrecycleAndGetNext()
-
-
-
Field Detail
-
RECYCLER
private static final ObjectPool<ChannelOutboundBuffer.Entry> RECYCLER
-
handle
private final ObjectPool.Handle<ChannelOutboundBuffer.Entry> handle
-
next
ChannelOutboundBuffer.Entry next
-
msg
java.lang.Object msg
-
bufs
java.nio.ByteBuffer[] bufs
-
buf
java.nio.ByteBuffer buf
-
promise
ChannelPromise promise
-
progress
long progress
-
total
long total
-
pendingSize
int pendingSize
-
count
int count
-
cancelled
boolean cancelled
-
-
Constructor Detail
-
Entry
private Entry(ObjectPool.Handle<ChannelOutboundBuffer.Entry> handle)
-
-
Method Detail
-
newInstance
static ChannelOutboundBuffer.Entry newInstance(java.lang.Object msg, int size, long total, ChannelPromise promise)
-
cancel
int cancel()
-
recycle
void recycle()
-
recycleAndGetNext
ChannelOutboundBuffer.Entry recycleAndGetNext()
-
-