Uses of Class
io.netty.buffer.PoolThreadCache
-
Packages that use PoolThreadCache Package Description io.netty.buffer 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 PoolThreadCache Modifier and Type Field Description (package private) PoolThreadCache
PooledByteBuf. cache
Methods in io.netty.buffer that return PoolThreadCache Modifier and Type Method Description protected PoolThreadCache
PooledByteBufAllocator.PoolThreadLocalCache. initialValue()
(package private) PoolThreadCache
PooledByteBufAllocator. threadCache()
Methods in io.netty.buffer with parameters of type PoolThreadCache Modifier and Type Method Description (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 normCapacity, PoolThreadCache threadCache)
(package private) boolean
PoolChunkList. allocate(PooledByteBuf<T> buf, int reqCapacity, int normCapacity, PoolThreadCache threadCache)
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 normCapacity, PoolThreadCache threadCache)
(package private) void
PoolArena. free(PoolChunk<T> chunk, java.nio.ByteBuffer nioBuffer, long handle, int normCapacity, PoolThreadCache cache)
(package private) void
PooledByteBuf. init(PoolChunk<T> chunk, java.nio.ByteBuffer nioBuffer, long handle, int offset, int length, int maxLength, PoolThreadCache cache)
(package private) void
PooledUnsafeDirectByteBuf. init(PoolChunk<java.nio.ByteBuffer> chunk, java.nio.ByteBuffer nioBuffer, long handle, int offset, int length, int maxLength, PoolThreadCache cache)
private void
PooledByteBuf. init0(PoolChunk<T> chunk, java.nio.ByteBuffer nioBuffer, long handle, int offset, int length, int maxLength, PoolThreadCache cache)
(package private) void
PoolChunk. initBuf(PooledByteBuf<T> buf, java.nio.ByteBuffer nioBuffer, long handle, int reqCapacity, PoolThreadCache threadCache)
protected abstract void
PoolThreadCache.MemoryRegionCache. initBuf(PoolChunk<T> chunk, java.nio.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, java.nio.ByteBuffer nioBuffer, long handle, PooledByteBuf<T> buf, int reqCapacity, PoolThreadCache threadCache)
protected void
PoolThreadCache.SubPageMemoryRegionCache. initBuf(PoolChunk<T> chunk, java.nio.ByteBuffer nioBuffer, long handle, PooledByteBuf<T> buf, int reqCapacity, PoolThreadCache threadCache)
private void
PoolChunk. initBufWithSubpage(PooledByteBuf<T> buf, java.nio.ByteBuffer nioBuffer, long handle, int bitmapIdx, int reqCapacity, PoolThreadCache threadCache)
(package private) void
PoolChunk. initBufWithSubpage(PooledByteBuf<T> buf, java.nio.ByteBuffer nioBuffer, long handle, int reqCapacity, PoolThreadCache threadCache)
protected void
PooledByteBufAllocator.PoolThreadLocalCache. onRemoval(PoolThreadCache threadCache)
-