Uses of Class
io.netty.buffer.PooledByteBuf
Packages that use PooledByteBuf
Package
Description
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
-
Uses of PooledByteBuf in io.netty.buffer
Subclasses of PooledByteBuf in io.netty.bufferModifier and TypeClassDescription(package private) final class
(package private) class
(package private) final class
(package private) final class
Fields in io.netty.buffer with type parameters of type PooledByteBufModifier and TypeFieldDescriptionprivate final Recycler.EnhancedHandle
<PooledByteBuf<T>> PooledByteBuf.recyclerHandle
Methods in io.netty.buffer that return PooledByteBufModifier and TypeMethodDescription(package private) PooledByteBuf
<T> PoolArena.allocate
(PoolThreadCache cache, int reqCapacity, int maxCapacity) protected PooledByteBuf
<ByteBuffer> PoolArena.DirectArena.newByteBuf
(int maxCapacity) protected PooledByteBuf
<byte[]> PoolArena.HeapArena.newByteBuf
(int maxCapacity) protected abstract PooledByteBuf
<T> PoolArena.newByteBuf
(int maxCapacity) Methods in io.netty.buffer with parameters of type PooledByteBufModifier and TypeMethodDescriptionprivate void
PoolArena.allocate
(PoolThreadCache cache, PooledByteBuf<T> buf, int reqCapacity) (package private) boolean
PoolChunk.allocate
(PooledByteBuf<T> buf, int reqCapacity, int sizeIdx, PoolThreadCache cache) (package private) boolean
PoolChunkList.allocate
(PooledByteBuf<T> buf, int reqCapacity, int sizeIdx, PoolThreadCache threadCache) private boolean
PoolThreadCache.allocate
(PoolThreadCache.MemoryRegionCache<?> cache, PooledByteBuf buf, int reqCapacity) final boolean
PoolThreadCache.MemoryRegionCache.allocate
(PooledByteBuf<T> buf, int reqCapacity, PoolThreadCache threadCache) Allocate something out of the cache if possible and remove the entry from the cache.private void
PoolArena.allocateHuge
(PooledByteBuf<T> buf, int reqCapacity) private void
PoolArena.allocateNormal
(PooledByteBuf<T> buf, int reqCapacity, int sizeIdx, PoolThreadCache threadCache) (package private) boolean
PoolThreadCache.allocateNormal
(PoolArena<?> area, PooledByteBuf<?> buf, int reqCapacity, int sizeIdx) Try to allocate a normal buffer out of the cache.(package private) boolean
PoolThreadCache.allocateSmall
(PoolArena<?> area, PooledByteBuf<?> buf, int reqCapacity, int sizeIdx) Try to allocate a small buffer out of the cache.(package private) void
PoolChunk.initBuf
(PooledByteBuf<T> buf, ByteBuffer nioBuffer, long handle, int reqCapacity, PoolThreadCache threadCache) protected abstract void
PoolThreadCache.MemoryRegionCache.initBuf
(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, PooledByteBuf<T> buf, int reqCapacity, PoolThreadCache threadCache) Init thePooledByteBuf
using the provided chunk and handle with the capacity restrictions.protected void
PoolThreadCache.NormalMemoryRegionCache.initBuf
(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, PooledByteBuf<T> buf, int reqCapacity, PoolThreadCache threadCache) protected void
PoolThreadCache.SubPageMemoryRegionCache.initBuf
(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, PooledByteBuf<T> buf, int reqCapacity, PoolThreadCache threadCache) (package private) void
PoolChunk.initBufWithSubpage
(PooledByteBuf<T> buf, ByteBuffer nioBuffer, long handle, int reqCapacity, PoolThreadCache threadCache) protected void
PoolArena.DirectArena.memoryCopy
(ByteBuffer src, int srcOffset, PooledByteBuf<ByteBuffer> dstBuf, int length) protected void
PoolArena.HeapArena.memoryCopy
(byte[] src, int srcOffset, PooledByteBuf<byte[]> dst, int length) protected abstract void
PoolArena.memoryCopy
(T src, int srcOffset, PooledByteBuf<T> dst, int length) (package private) void
PoolArena.reallocate
(PooledByteBuf<T> buf, int newCapacity) private void
PoolArena.tcacheAllocateNormal
(PoolThreadCache cache, PooledByteBuf<T> buf, int reqCapacity, int sizeIdx) private void
PoolArena.tcacheAllocateSmall
(PoolThreadCache cache, PooledByteBuf<T> buf, int reqCapacity, int sizeIdx) Constructor parameters in io.netty.buffer with type arguments of type PooledByteBufModifierConstructorDescriptionprotected
PooledByteBuf
(ObjectPool.Handle<? extends PooledByteBuf<T>> recyclerHandle, int maxCapacity)