Uses of Interface
io.netty5.buffer.api.BufferAllocator
-
Packages that use BufferAllocator Package Description io.netty5.buffer Abstraction of a byte buffer - the fundamental data structure to represent a low-level binary and text message.io.netty5.buffer.api IncubatingBufferAPI, as a proposed alternative toByteBuf.io.netty5.buffer.api.pool A poolingBufferAllocatorimplementation based on jemalloc. -
-
Uses of BufferAllocator in io.netty5.buffer
Methods in io.netty5.buffer with parameters of type BufferAllocator Modifier and Type Method Description static BufferBufferUtil. writeAscii(BufferAllocator alloc, CharSequence seq) -
Uses of BufferAllocator in io.netty5.buffer.api
Classes in io.netty5.buffer.api that implement BufferAllocator Modifier and Type Class Description classSensitiveBufferAllocatorThisBufferAllocatoris for allocating off-heapBuffers that may contain sensitive information, which should be erased from memory (overwritten) when the buffer is closed.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.static BufferAllocatorSensitiveBufferAllocator. sensitiveOffHeapAllocator()Get the sensitive off-heap buffer allocator instance.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. -
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
-