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 classFields in io.netty.buffer with type parameters of type PooledByteBufModifier and TypeFieldDescriptionprivate final Recycler.EnhancedHandle<PooledByteBuf<T>> PooledByteBuf.recyclerHandleMethods 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 voidPoolArena.allocate(PoolThreadCache cache, PooledByteBuf<T> buf, int reqCapacity) (package private) booleanPoolChunk.allocate(PooledByteBuf<T> buf, int reqCapacity, int sizeIdx, PoolThreadCache cache) (package private) booleanPoolChunkList.allocate(PooledByteBuf<T> buf, int reqCapacity, int sizeIdx, PoolThreadCache threadCache) private booleanPoolThreadCache.allocate(PoolThreadCache.MemoryRegionCache<?> cache, PooledByteBuf buf, int reqCapacity) final booleanPoolThreadCache.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 voidPoolArena.allocateHuge(PooledByteBuf<T> buf, int reqCapacity) private voidPoolArena.allocateNormal(PooledByteBuf<T> buf, int reqCapacity, int sizeIdx, PoolThreadCache threadCache) (package private) booleanPoolThreadCache.allocateNormal(PoolArena<?> area, PooledByteBuf<?> buf, int reqCapacity, int sizeIdx) Try to allocate a normal buffer out of the cache.(package private) booleanPoolThreadCache.allocateSmall(PoolArena<?> area, PooledByteBuf<?> buf, int reqCapacity, int sizeIdx) Try to allocate a small buffer out of the cache.(package private) voidPoolChunk.initBuf(PooledByteBuf<T> buf, ByteBuffer nioBuffer, long handle, int reqCapacity, PoolThreadCache threadCache) protected abstract voidPoolThreadCache.MemoryRegionCache.initBuf(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, PooledByteBuf<T> buf, int reqCapacity, PoolThreadCache threadCache) Init thePooledByteBufusing the provided chunk and handle with the capacity restrictions.protected voidPoolThreadCache.NormalMemoryRegionCache.initBuf(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, PooledByteBuf<T> buf, int reqCapacity, PoolThreadCache threadCache) protected voidPoolThreadCache.SubPageMemoryRegionCache.initBuf(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, PooledByteBuf<T> buf, int reqCapacity, PoolThreadCache threadCache) (package private) voidPoolChunk.initBufWithSubpage(PooledByteBuf<T> buf, ByteBuffer nioBuffer, long handle, int reqCapacity, PoolThreadCache threadCache) protected voidPoolArena.DirectArena.memoryCopy(ByteBuffer src, int srcOffset, PooledByteBuf<ByteBuffer> dstBuf, int length) protected voidPoolArena.HeapArena.memoryCopy(byte[] src, int srcOffset, PooledByteBuf<byte[]> dst, int length) protected abstract voidPoolArena.memoryCopy(T src, int srcOffset, PooledByteBuf<T> dst, int length) (package private) voidPoolArena.reallocate(PooledByteBuf<T> buf, int newCapacity) private voidPoolArena.tcacheAllocateNormal(PoolThreadCache cache, PooledByteBuf<T> buf, int reqCapacity, int sizeIdx) private voidPoolArena.tcacheAllocateSmall(PoolThreadCache cache, PooledByteBuf<T> buf, int reqCapacity, int sizeIdx) Constructor parameters in io.netty.buffer with type arguments of type PooledByteBufModifierConstructorDescriptionprotectedPooledByteBuf(ObjectPool.Handle<? extends PooledByteBuf<T>> recyclerHandle, int maxCapacity)