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 IncubatingBuffer
API, as a proposed alternative toByteBuf
.io.netty5.buffer.api.pool A poolingBufferAllocator
implementation 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 Buffer
BufferUtil. 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 class
SensitiveBufferAllocator
ThisBufferAllocator
is for allocating off-heapBuffer
s 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 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.static BufferAllocator
SensitiveBufferAllocator. 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 CompositeBuffer
CompositeBuffer. 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 class
PooledBufferAllocator
-