Class IOUring


  • public final class IOUring
    extends java.lang.Object
    • Field Detail

      • UNAVAILABILITY_CAUSE

        private static final java.lang.Throwable UNAVAILABILITY_CAUSE
    • Constructor Detail

      • IOUring

        private IOUring()
    • Method Detail

      • isAvailable

        public static boolean isAvailable()
      • isTcpFastOpenClientSideAvailable

        public static boolean isTcpFastOpenClientSideAvailable()
        Returns true if the io_uring native transport is both available and supports client-side TCP FastOpen.
        Returns:
        true if it's possible to use client-side TCP FastOpen via io_uring, otherwise false.
      • isTcpFastOpenServerSideAvailable

        public static boolean isTcpFastOpenServerSideAvailable()
        Returns true if the io_uring native transport is both available and supports server-side TCP FastOpen.
        Returns:
        true if it's possible to use server-side TCP FastOpen via io_uring, otherwise false.
      • ensureAvailability

        public static void ensureAvailability()
      • unavailabilityCause

        public static java.lang.Throwable unavailabilityCause()