Class EpollQuicUtils


  • public final class EpollQuicUtils
    extends Object
    Class that provides utility methods to setup QUIC when using the EPOLL transport.
    • Method Detail

      • newSegmentedAllocator

        public static SegmentedDatagramPacketAllocator newSegmentedAllocator​(int maxNumSegments)
        Return a new SegmentedDatagramPacketAllocator that can be used while using EpollDatagramChannel.
        Parameters:
        maxNumSegments - the maximum number of segments that we try to send in one packet.
        Returns:
        a allocator.