Uses of Class
io.netty.buffer.PoolArena
Packages that use PoolArena
Package
Description
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
-
Uses of PoolArena in io.netty.buffer
Subclasses of PoolArena in io.netty.bufferModifier and TypeClassDescription(package private) static final class
(package private) static final class
Fields in io.netty.buffer declared as PoolArenaModifier and TypeFieldDescriptionPoolChunk.arena
PoolChunkList.arena
(package private) final PoolArena
<ByteBuffer> PoolThreadCache.directArena
private final PoolArena<ByteBuffer>[]
PooledByteBufAllocator.directArenas
(package private) final PoolArena
<byte[]> PoolThreadCache.heapArena
private final PoolArena<byte[]>[]
PooledByteBufAllocator.heapArenas
Methods in io.netty.buffer that return PoolArenaModifier and TypeMethodDescriptionprivate <T> PoolArena
<T> PooledByteBufAllocator.PoolThreadLocalCache.leastUsedArena
(PoolArena<T>[] arenas) private static <T> PoolArena<T>[]
PooledByteBufAllocator.newArenaArray
(int size) Methods in io.netty.buffer with parameters of type PoolArenaModifier and TypeMethodDescription(package private) boolean
PoolThreadCache.add
(PoolArena<?> area, PoolChunk chunk, ByteBuffer nioBuffer, long handle, int normCapacity, PoolArena.SizeClass sizeClass) AddPoolChunk
andhandle
to the cache if there is enough room.(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.private PoolThreadCache.MemoryRegionCache
<?> PoolThreadCache.cache
(PoolArena<?> area, int sizeIdx, PoolArena.SizeClass sizeClass) private PoolThreadCache.MemoryRegionCache
<?> PoolThreadCache.cacheForNormal
(PoolArena<?> area, int sizeIdx) private PoolThreadCache.MemoryRegionCache
<?> PoolThreadCache.cacheForSmall
(PoolArena<?> area, int sizeIdx) private static <T> PoolThreadCache.MemoryRegionCache<T>[]
PoolThreadCache.createNormalCaches
(int cacheSize, int maxCachedBufferCapacity, PoolArena<T> area) (package private) void
private <T> PoolArena
<T> PooledByteBufAllocator.PoolThreadLocalCache.leastUsedArena
(PoolArena<T>[] arenas) private static int
PooledByteBufAllocator.numThreadLocalCaches
(PoolArena<?>[] arenas) private static long
PooledByteBufAllocator.pinnedMemory
(PoolArena<?>[] arenas) private static long
PooledByteBufAllocator.usedMemory
(PoolArena<?>[] arenas) Constructors in io.netty.buffer with parameters of type PoolArenaModifierConstructorDescription(package private)
Creates a special chunk that is not pooled.(package private)
PoolChunk
(PoolArena<T> arena, Object base, T memory, int pageSize, int pageShifts, int chunkSize, int maxPageIdx) (package private)
PoolChunkList
(PoolArena<T> arena, PoolChunkList<T> nextList, int minUsage, int maxUsage, int chunkSize) (package private)
PoolThreadCache
(PoolArena<byte[]> heapArena, PoolArena<ByteBuffer> directArena, int smallCacheSize, int normalCacheSize, int maxCachedBufferCapacity, int freeSweepAllocationThreshold, boolean useFinalizer)