Class BufferAllocators


  • public final class BufferAllocators
    extends java.lang.Object
    Available BufferAllocators.
    • Field Detail

      • PREFER_DIRECT_ALLOCATOR

        public static final BufferAllocator PREFER_DIRECT_ALLOCATOR
        Default BufferAllocator whose Buffers 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
        Default BufferAllocator whose Buffers are typically backed by Netty buffers and prefers heap memory allocation when otherwise not specified.