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