Class SocketSendBufferPool.PooledSendBuffer
- java.lang.Object
-
- org.jboss.netty.channel.socket.nio.SocketSendBufferPool.UnpooledSendBuffer
-
- org.jboss.netty.channel.socket.nio.SocketSendBufferPool.PooledSendBuffer
-
- All Implemented Interfaces:
SocketSendBufferPool.SendBuffer
- Enclosing class:
- SocketSendBufferPool
final class SocketSendBufferPool.PooledSendBuffer extends SocketSendBufferPool.UnpooledSendBuffer
-
-
Field Summary
Fields Modifier and Type Field Description private SocketSendBufferPool.Preallocation
parent
-
Fields inherited from class org.jboss.netty.channel.socket.nio.SocketSendBufferPool.UnpooledSendBuffer
buffer, initialPos
-
-
Constructor Summary
Constructors Constructor Description PooledSendBuffer(SocketSendBufferPool.Preallocation parent, java.nio.ByteBuffer buffer)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
release()
-
Methods inherited from class org.jboss.netty.channel.socket.nio.SocketSendBufferPool.UnpooledSendBuffer
finished, totalBytes, transferTo, transferTo, writtenBytes
-
-
-
-
Field Detail
-
parent
private final SocketSendBufferPool.Preallocation parent
-
-
Constructor Detail
-
PooledSendBuffer
PooledSendBuffer(SocketSendBufferPool.Preallocation parent, java.nio.ByteBuffer buffer)
-
-
Method Detail
-
release
public void release()
- Specified by:
release
in interfaceSocketSendBufferPool.SendBuffer
- Overrides:
release
in classSocketSendBufferPool.UnpooledSendBuffer
-
-