Package io.servicetalk.buffer.netty
Class BufferAllocators
java.lang.Object
io.servicetalk.buffer.netty.BufferAllocators
Available
BufferAllocators.-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final BufferAllocatorDefaultBufferAllocatorwhoseBuffers are typically backed by Netty buffers.static final BufferAllocatorDefaultBufferAllocatorwhoseBuffers are typically backed by Netty buffers and prefers direct memory allocation when otherwise not specified.static final BufferAllocatorDefaultBufferAllocatorwhoseBuffers are typically backed by Netty buffers and prefers heap memory allocation when otherwise not specified. -
Method Summary
-
Field Details
-
DEFAULT_ALLOCATOR
DefaultBufferAllocatorwhoseBuffers are typically backed by Netty buffers. -
PREFER_DIRECT_ALLOCATOR
DefaultBufferAllocatorwhoseBuffers are typically backed by Netty buffers and prefers direct memory allocation when otherwise not specified. -
PREFER_HEAP_ALLOCATOR
DefaultBufferAllocatorwhoseBuffers are typically backed by Netty buffers and prefers heap memory allocation when otherwise not specified.
-