Uses of Interface
io.netty5.buffer.api.BufferAllocator
-
Packages that use BufferAllocator Package Description io.netty5.buffer.api IncubatingBufferAPI, as a proposed alternative toByteBuf.io.netty5.buffer.api.adaptor Helpers for integrating with the existingByteBufAPI.io.netty5.buffer.api.pool A poolingBufferAllocatorimplementation 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 BufferAllocatorAllocatorControl. getAllocator()Get theBufferAllocatorinstance that is the source of this allocator control.static BufferAllocatorDefaultBufferAllocators. offHeapAllocator()Get the shared off-heap allocator.static BufferAllocatorBufferAllocator. offHeapPooled()Produces a poolingBufferAllocatorthat allocates and recycles off-heap buffers.static BufferAllocatorBufferAllocator. offHeapUnpooled()Produces aBufferAllocatorthat allocates unpooled, off-heap buffers.static BufferAllocatorDefaultBufferAllocators. onHeapAllocator()Get the shared on-heap allocator.static BufferAllocatorBufferAllocator. onHeapPooled()Produces a poolingBufferAllocatorthat allocates and recycles on-heap buffers.static BufferAllocatorBufferAllocator. onHeapUnpooled()Produces aBufferAllocatorthat allocates unpooled, on-heap buffers.static BufferAllocatorDefaultBufferAllocators. preferredAllocator()Get the preferred, shared allocator.Methods in io.netty5.buffer.api with parameters of type BufferAllocator Modifier and Type Method Description static CompositeBufferCompositeBuffer. compose(BufferAllocator allocator)Create an empty composite buffer, that has no components.static CompositeBufferCompositeBuffer. 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 BufferAllocatorByteBufAllocatorAdaptor. getOffHeap()BufferAllocatorByteBufAllocatorAdaptor. getOnHeap()Methods in io.netty5.buffer.api.adaptor with parameters of type BufferAllocator Modifier and Type Method Description static BufferByteBufAdaptor. 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 classPooledBufferAllocator
-