- java.lang.Object
-
- io.netty5.channel.unix.Unix
-
public final class Unix extends Object
Tells ifnetty-transport-native-unixis supported.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static voidensureAvailability()Deprecated.static booleanisAvailable()Deprecated.static voidregisterInternal(Runnable registerTask)Internal method...static ThrowableunavailabilityCause()Deprecated.
-
-
-
Method Detail
-
registerInternal
@UnstableApi public static void registerInternal(Runnable registerTask)
Internal method... Should never be called from the user.- Parameters:
registerTask- The task to run if this thread caused registration.
-
isAvailable
@Deprecated public static boolean isAvailable()
Deprecated.Returnstrueif and only if thenetty_transport_native_unixis available.
-
ensureAvailability
@Deprecated public static void ensureAvailability()
Deprecated.Ensure thatnetty_transport_native_unixis available.- Throws:
UnsatisfiedLinkError- if unavailable
-
unavailabilityCause
@Deprecated public static Throwable unavailabilityCause()
Deprecated.Returns the cause of unavailability ofnetty_transport_native_unix.- Returns:
- the cause if unavailable.
nullif available.
-
-