Uses of Class
io.netty.buffer.PoolChunk
Packages that use PoolChunk
Package
Description
Abstraction of a byte buffer - the fundamental data structure
to represent a low-level binary and text message.
-
Uses of PoolChunk in io.netty.buffer
Fields in io.netty.buffer declared as PoolChunkModifier and TypeFieldDescriptionPooledByteBuf.chunkPoolSubpage.chunkPoolThreadCache.MemoryRegionCache.Entry.chunkPoolChunkList.headPoolChunk.nextPoolChunk.prevFields in io.netty.buffer with type parameters of type PoolChunkModifier and TypeFieldDescriptionprivate final AtomicReference<PoolChunk<byte[]>> PoolArena.HeapArena.lastDestroyedChunkMethods in io.netty.buffer that return PoolChunkModifier and TypeMethodDescriptionprotected PoolChunk<ByteBuffer> PoolArena.DirectArena.newChunk(int pageSize, int maxPageIdx, int pageShifts, int chunkSize) protected PoolChunk<byte[]> PoolArena.HeapArena.newChunk(int pageSize, int maxPageIdx, int pageShifts, int chunkSize) PoolArena.newChunk(int pageSize, int maxPageIdx, int pageShifts, int chunkSize) protected PoolChunk<ByteBuffer> PoolArena.DirectArena.newUnpooledChunk(int capacity) protected PoolChunk<byte[]> PoolArena.HeapArena.newUnpooledChunk(int capacity) PoolArena.newUnpooledChunk(int capacity) Methods in io.netty.buffer with parameters of type PoolChunkModifier and TypeMethodDescription(package private) void(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.final booleanPoolThreadCache.MemoryRegionCache.add(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, int normCapacity) Add to cache if not already full.(package private) voidAdds thePoolChunkto thisPoolChunkList.protected abstract voidPoolArena.destroyChunk(PoolChunk<T> chunk) protected voidPoolArena.DirectArena.destroyChunk(PoolChunk<ByteBuffer> chunk) protected voidPoolArena.HeapArena.destroyChunk(PoolChunk<byte[]> chunk) (package private) voidPoolArena.free(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, int normCapacity, PoolThreadCache cache) (package private) booleanPoolChunkList.free(PoolChunk<T> chunk, long handle, int normCapacity, ByteBuffer nioBuffer) (package private) voidPoolArena.freeChunk(PoolChunk<T> chunk, long handle, int normCapacity, PoolArena.SizeClass sizeClass, ByteBuffer nioBuffer, boolean finalizer) (package private) voidPooledByteBuf.init(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, int offset, int length, int maxLength, PoolThreadCache cache) (package private) voidPooledUnsafeDirectByteBuf.init(PoolChunk<ByteBuffer> chunk, ByteBuffer nioBuffer, long handle, int offset, int length, int maxLength, PoolThreadCache cache) private voidPooledByteBuf.init0(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, int offset, int length, int maxLength, PoolThreadCache cache) protected abstract voidPoolThreadCache.MemoryRegionCache.initBuf(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, PooledByteBuf<T> buf, int reqCapacity, PoolThreadCache threadCache) Init thePooledByteBufusing the provided chunk and handle with the capacity restrictions.protected voidPoolThreadCache.NormalMemoryRegionCache.initBuf(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, PooledByteBuf<T> buf, int reqCapacity, PoolThreadCache threadCache) protected voidPoolThreadCache.SubPageMemoryRegionCache.initBuf(PoolChunk<T> chunk, ByteBuffer nioBuffer, long handle, PooledByteBuf<T> buf, int reqCapacity, PoolThreadCache threadCache) (package private) voidPooledByteBuf.initUnpooled(PoolChunk<T> chunk, int length) (package private) voidPooledUnsafeDirectByteBuf.initUnpooled(PoolChunk<ByteBuffer> chunk, int length) private booleanprivate booleanMoves thePoolChunkdown thePoolChunkListlinked-list so it will end up in the rightPoolChunkListthat has the correct minUsage / maxUsage in respect toPoolChunk.usage().private static PoolThreadCache.MemoryRegionCache.EntryPoolThreadCache.MemoryRegionCache.newEntry(PoolChunk<?> chunk, ByteBuffer nioBuffer, long handle, int normCapacity) private voidConstructors in io.netty.buffer with parameters of type PoolChunkModifierConstructorDescription(package private)PoolSubpage(PoolSubpage<T> head, PoolChunk<T> chunk, int pageShifts, int runOffset, int runSize, int elemSize)