Uses of Class
io.netty.buffer.PoolThreadCache
Packages that use PoolThreadCache
Package
Description
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
-
Uses of PoolThreadCache in io.netty.buffer
Fields in io.netty.buffer declared as PoolThreadCacheModifier and TypeFieldDescription(package private) PoolThreadCache
PooledByteBuf.cache
private PoolThreadCache
PoolThreadCache.FreeOnFinalize.cache
Methods in io.netty.buffer that return PoolThreadCacheModifier and TypeMethodDescriptionprotected PoolThreadCache
PooledByteBufAllocator.PoolThreadLocalCache.initialValue()
(package private) final PoolThreadCache
PooledByteBufAllocator.threadCache()
Methods in io.netty.buffer with parameters of type PoolThreadCacheModifier and TypeMethodDescription(package private) PooledByteBuf
<T> PoolArena.allocate
(PoolThreadCache cache, int reqCapacity, int maxCapacity) private 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) 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.allocateNormal
(PooledByteBuf<T> buf, int reqCapacity, int sizeIdx, PoolThreadCache threadCache) (package private) void
PoolArena.free
(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, int normCapacity, PoolThreadCache cache) (package private) void
PooledByteBuf.init
(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, int offset, int length, int maxLength, PoolThreadCache cache) (package private) void
PooledUnsafeDirectByteBuf.init
(PoolChunk<ByteBuffer> chunk, ByteBuffer nioBuffer, long handle, int offset, int length, int maxLength, PoolThreadCache cache) private void
PooledByteBuf.init0
(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, int offset, int length, int maxLength, PoolThreadCache 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
PooledByteBufAllocator.PoolThreadLocalCache.onRemoval
(PoolThreadCache threadCache) 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) Constructors in io.netty.buffer with parameters of type PoolThreadCache