Package io.servicetalk.buffer.netty
Class BufferAllocators
- java.lang.Object
-
- io.servicetalk.buffer.netty.BufferAllocators
-
public final class BufferAllocators extends java.lang.ObjectAvailableBufferAllocators.
-
-
Field Summary
Fields Modifier and Type Field Description static BufferAllocatorDEFAULT_ALLOCATORDefaultBufferAllocatorwhoseBuffers are typically backed by Netty buffers.static BufferAllocatorPREFER_DIRECT_ALLOCATORDefaultBufferAllocatorwhoseBuffers are typically backed by Netty buffers and prefers direct memory allocation when otherwise not specified.static BufferAllocatorPREFER_HEAP_ALLOCATORDefaultBufferAllocatorwhoseBuffers are typically backed by Netty buffers and prefers heap memory allocation when otherwise not specified.
-
-
-
Field Detail
-
DEFAULT_ALLOCATOR
public static final BufferAllocator DEFAULT_ALLOCATOR
DefaultBufferAllocatorwhoseBuffers are typically backed by Netty buffers.
-
PREFER_DIRECT_ALLOCATOR
public static final BufferAllocator PREFER_DIRECT_ALLOCATOR
DefaultBufferAllocatorwhoseBuffers are typically backed by Netty buffers and prefers direct memory allocation when otherwise not specified.
-
PREFER_HEAP_ALLOCATOR
public static final BufferAllocator PREFER_HEAP_ALLOCATOR
DefaultBufferAllocatorwhoseBuffers are typically backed by Netty buffers and prefers heap memory allocation when otherwise not specified.
-
-