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 classFields in io.netty.buffer declared as PoolArenaModifier and TypeFieldDescriptionPoolChunk.arenaPoolChunkList.arena(package private) final PoolArena<ByteBuffer> PoolThreadCache.directArenaprivate final PoolArena<ByteBuffer>[]PooledByteBufAllocator.directArenas(package private) final PoolArena<byte[]> PoolThreadCache.heapArenaprivate final PoolArena<byte[]>[]PooledByteBufAllocator.heapArenasMethods 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) booleanPoolThreadCache.add(PoolArena<?> area, PoolChunk chunk, ByteBuffer nioBuffer, long handle, int normCapacity, PoolArena.SizeClass sizeClass) AddPoolChunkandhandleto the cache if there is enough room.(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.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) voidprivate <T> PoolArena<T> PooledByteBufAllocator.PoolThreadLocalCache.leastUsedArena(PoolArena<T>[] arenas) private static intPooledByteBufAllocator.numThreadLocalCaches(PoolArena<?>[] arenas) private static longPooledByteBufAllocator.pinnedMemory(PoolArena<?>[] arenas) private static longPooledByteBufAllocator.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)