Class KQueue


  • @UnstableApi
    public final class KQueue
    extends java.lang.Object
    If KQueue is available the JNI resources will be loaded when this class loads.
    • Method Detail

      • ensureAvailability

        public static void ensureAvailability()
        Ensure that netty-transport-native-kqueue is available.
        Throws:
        java.lang.UnsatisfiedLinkError - if unavailable
      • unavailabilityCause

        public static java.lang.Throwable unavailabilityCause()
        Returns the cause of unavailability of netty-transport-native-kqueue.
        Returns:
        the cause if unavailable. null if available.