Class AbstractIoUringBufferRingAllocator

java.lang.Object
io.netty.channel.uring.AbstractIoUringBufferRingAllocator
All Implemented Interfaces:
IoUringBufferRingAllocator
Direct Known Subclasses:
IoUringAdaptiveBufferRingAllocator, IoUringFixedBufferRingAllocator

public abstract class AbstractIoUringBufferRingAllocator extends Object implements IoUringBufferRingAllocator
Base class for IoUringBufferRingAllocator implementations which support large allocations.
  • Constructor Details

    • AbstractIoUringBufferRingAllocator

      protected AbstractIoUringBufferRingAllocator(ByteBufAllocator allocator, boolean largeAllocation)
      Creates new instance.
      Parameters:
      allocator - the ByteBufAllocator to use for the allocations
      largeAllocation - true if we should do a large allocation for the whole buffer ring and then slice out the buffers or false if we should do one allocation per buffer.
  • Method Details