Package io.netty5.buffer.api
Interface AllocatorControl
-
@UnstableApi public interface AllocatorControlMethods for accessing and controlling the internals of an allocator. This interface is intended to be used by implementors of theBufferAllocator,BufferandMemoryManagerinterfaces.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description BufferAllocatorgetAllocator()Get theBufferAllocatorinstance that is the source of this allocator control.
-
-
-
Method Detail
-
getAllocator
BufferAllocator getAllocator()
Get theBufferAllocatorinstance that is the source of this allocator control.- Returns:
- The
BufferAllocatorcontrolled by thisAllocatorControl.
-
-