Class IoUringAdaptiveBufferRingAllocator

    • Constructor Detail

      • IoUringAdaptiveBufferRingAllocator

        public IoUringAdaptiveBufferRingAllocator()
      • IoUringAdaptiveBufferRingAllocator

        public IoUringAdaptiveBufferRingAllocator​(ByteBufAllocator allocator)
        Creates new instance.
        Parameters:
        allocator - the ByteBufAllocator to use.
      • IoUringAdaptiveBufferRingAllocator

        public IoUringAdaptiveBufferRingAllocator​(ByteBufAllocator allocator,
                                                  int minimum,
                                                  int initial,
                                                  int maximum)
        Creates new instance.
        Parameters:
        allocator - the ByteBufAllocator to use for the allocations
        minimum - the inclusive lower bound of the expected buffer size
        initial - the initial buffer size when no feed back was received
        maximum - the inclusive upper bound of the expected buffer size