Class KQueue


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

      • isTcpFastOpenClientSideAvailable

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

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