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.ByteBuffer
buf
(package private) java.nio.ByteBuffer[]
bufs
(package private) boolean
cancelled
(package private) int
count
private Recycler.EnhancedHandle<ChannelOutboundBuffer.Entry>
handle
(package private) java.lang.Object
msg
(package private) ChannelOutboundBuffer.Entry
next
(package private) int
pendingSize
(package private) long
progress
(package private) ChannelPromise
promise
private static ObjectPool<ChannelOutboundBuffer.Entry>
RECYCLER
(package private) long
total
-
Constructor Summary
Constructors Modifier Constructor Description private
Entry(ObjectPool.Handle<ChannelOutboundBuffer.Entry> handle)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) int
cancel()
(package private) static ChannelOutboundBuffer.Entry
newInstance(java.lang.Object msg, int size, long total, ChannelPromise promise)
(package private) void
unguardedRecycle()
(package private) ChannelOutboundBuffer.Entry
unguardedRecycleAndGetNext()
-
-
-
Field Detail
-
RECYCLER
private static final ObjectPool<ChannelOutboundBuffer.Entry> RECYCLER
-
handle
private final Recycler.EnhancedHandle<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()
-
unguardedRecycle
void unguardedRecycle()
-
unguardedRecycleAndGetNext
ChannelOutboundBuffer.Entry unguardedRecycleAndGetNext()
-
-