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 class
PoolArena.DirectArena
(package private) static class
PoolArena.HeapArena
Fields in io.netty.buffer declared as PoolArena Modifier and Type Field Description (package private) PoolArena<T>
PoolChunk. arena
private PoolArena<T>
PoolChunkList. arena
(package private) PoolArena<java.nio.ByteBuffer>
PoolThreadCache. directArena
private PoolArena<java.nio.ByteBuffer>[]
PooledByteBufAllocator. directArenas
(package private) PoolArena<byte[]>
PoolThreadCache. heapArena
private PoolArena<byte[]>[]
PooledByteBufAllocator. heapArenas
Methods 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) boolean
PoolThreadCache. add(PoolArena<?> area, PoolChunk chunk, java.nio.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 normCapacity)
Try to allocate a small buffer out of the cache.(package private) boolean
PoolThreadCache. allocateSmall(PoolArena<?> area, PooledByteBuf<?> buf, int reqCapacity, int normCapacity)
Try to allocate a small buffer out of the cache.(package private) boolean
PoolThreadCache. allocateTiny(PoolArena<?> area, PooledByteBuf<?> buf, int reqCapacity, int normCapacity)
Try to allocate a tiny buffer out of the cache.private PoolThreadCache.MemoryRegionCache<?>
PoolThreadCache. cache(PoolArena<?> area, int normCapacity, PoolArena.SizeClass sizeClass)
private PoolThreadCache.MemoryRegionCache<?>
PoolThreadCache. cacheForNormal(PoolArena<?> area, int normCapacity)
private PoolThreadCache.MemoryRegionCache<?>
PoolThreadCache. cacheForSmall(PoolArena<?> area, int normCapacity)
private PoolThreadCache.MemoryRegionCache<?>
PoolThreadCache. cacheForTiny(PoolArena<?> area, int normCapacity)
private static <T> PoolThreadCache.MemoryRegionCache<T>[]
PoolThreadCache. createNormalCaches(int cacheSize, int maxCachedBufferCapacity, PoolArena<T> area)
(package private) void
PoolChunkList. destroy(PoolArena<T> arena)
private <T> PoolArena<T>
PooledByteBufAllocator.PoolThreadLocalCache. leastUsedArena(PoolArena<T>[] arenas)
private static long
PooledByteBufAllocator. usedMemory(PoolArena<?>[] arenas)
Constructors in io.netty.buffer with parameters of type PoolArena Constructor Description PoolChunk(PoolArena<T> arena, T memory, int size, int offset)
Creates a special chunk that is not pooled.PoolChunk(PoolArena<T> arena, T memory, int pageSize, int maxOrder, int pageShifts, int chunkSize, int offset)
PoolChunkList(PoolArena<T> arena, PoolChunkList<T> nextList, int minUsage, int maxUsage, int chunkSize)
PoolThreadCache(PoolArena<byte[]> heapArena, PoolArena<java.nio.ByteBuffer> directArena, int tinyCacheSize, int smallCacheSize, int normalCacheSize, int maxCachedBufferCapacity, int freeSweepAllocationThreshold)
-