Package io.netty.buffer
Interface ChunkInfo
-
- All Known Implementing Classes:
AdaptivePoolingAllocator.BuddyChunk,AdaptivePoolingAllocator.Chunk,AdaptivePoolingAllocator.SizeClassedChunk,PoolChunk
@UnstableApi interface ChunkInfo
Information about an allocator chunk.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description intcapacity()The capacity of the chunk, in bytes.booleanisDirect()trueif the chunk contain native memory, otherwisefalse.longmemoryAddress()The native memory address of the chunk, if any, otherwise zero.
-