Uses of Interface
io.netty5.buffer.api.BufferAllocator
-
Packages that use BufferAllocator Package Description io.netty5.buffer.api IncubatingBuffer
API, as a proposed alternative toByteBuf
.io.netty5.buffer.api.adaptor Helpers for integrating with the existingByteBuf
API.io.netty5.buffer.api.pool A poolingBufferAllocator
implementation based on jemalloc. -
-
Uses of BufferAllocator in io.netty5.buffer.api
Methods in io.netty5.buffer.api that return BufferAllocator Modifier and Type Method Description BufferAllocator
AllocatorControl. getAllocator()
Get theBufferAllocator
instance that is the source of this allocator control.static BufferAllocator
DefaultBufferAllocators. offHeapAllocator()
Get the shared off-heap allocator.static BufferAllocator
BufferAllocator. offHeapPooled()
Produces a poolingBufferAllocator
that allocates and recycles off-heap buffers.static BufferAllocator
BufferAllocator. offHeapUnpooled()
Produces aBufferAllocator
that allocates unpooled, off-heap buffers.static BufferAllocator
DefaultBufferAllocators. onHeapAllocator()
Get the shared on-heap allocator.static BufferAllocator
BufferAllocator. onHeapPooled()
Produces a poolingBufferAllocator
that allocates and recycles on-heap buffers.static BufferAllocator
BufferAllocator. onHeapUnpooled()
Produces aBufferAllocator
that allocates unpooled, on-heap buffers.static BufferAllocator
DefaultBufferAllocators. preferredAllocator()
Get the preferred, shared allocator.Methods in io.netty5.buffer.api with parameters of type BufferAllocator Modifier and Type Method Description static CompositeBuffer
CompositeBuffer. compose(BufferAllocator allocator)
Create an empty composite buffer, that has no components.static CompositeBuffer
CompositeBuffer. compose(BufferAllocator allocator, Send<Buffer>... sends)
Compose the given sequence of sends of buffers and present them as a single buffer. -
Uses of BufferAllocator in io.netty5.buffer.api.adaptor
Methods in io.netty5.buffer.api.adaptor that return BufferAllocator Modifier and Type Method Description BufferAllocator
ByteBufAllocatorAdaptor. getOffHeap()
BufferAllocator
ByteBufAllocatorAdaptor. getOnHeap()
Methods in io.netty5.buffer.api.adaptor with parameters of type BufferAllocator Modifier and Type Method Description static Buffer
ByteBufAdaptor. extractOrCopy(BufferAllocator allocator, ByteBuf byteBuf)
Constructors in io.netty5.buffer.api.adaptor with parameters of type BufferAllocator Constructor Description ByteBufAllocatorAdaptor(BufferAllocator onHeap, BufferAllocator offHeap)
-
Uses of BufferAllocator in io.netty5.buffer.api.pool
Classes in io.netty5.buffer.api.pool that implement BufferAllocator Modifier and Type Class Description class
PooledBufferAllocator
-