Uses of Class
io.netty.buffer.PoolArena
-
Packages that use PoolArena 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 PoolArena in io.netty.buffer
Subclasses of PoolArena in io.netty.buffer Modifier and Type Class Description (package private) static classPoolArena.DirectArena(package private) static classPoolArena.HeapArenaFields in io.netty.buffer declared as PoolArena Modifier and Type Field Description (package private) PoolArena<T>PoolChunk. arenaprivate PoolArena<T>PoolChunkList. arena(package private) PoolArena<java.nio.ByteBuffer>PoolThreadCache. directArenaprivate PoolArena<java.nio.ByteBuffer>[]PooledByteBufAllocator. directArenas(package private) PoolArena<byte[]>PoolThreadCache. heapArenaprivate PoolArena<byte[]>[]PooledByteBufAllocator. heapArenasMethods in io.netty.buffer that return PoolArena Modifier and Type Method Description private <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 PoolArena Modifier and Type Method Description (package private) booleanPoolThreadCache. add(PoolArena<?> area, PoolChunk chunk, java.nio.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) voidPoolChunkList. destroy(PoolArena<T> arena)private <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 PoolArena Constructor Description PoolChunk(PoolArena<T> arena, java.lang.Object base, T memory, int size)Creates a special chunk that is not pooled.PoolChunk(PoolArena<T> arena, java.lang.Object base, T memory, int pageSize, int pageShifts, int chunkSize, int maxPageIdx)PoolChunkList(PoolArena<T> arena, PoolChunkList<T> nextList, int minUsage, int maxUsage, int chunkSize)PoolThreadCache(PoolArena<byte[]> heapArena, PoolArena<java.nio.ByteBuffer> directArena, int smallCacheSize, int normalCacheSize, int maxCachedBufferCapacity, int freeSweepAllocationThreshold, boolean useFinalizer)
-