Package io.netty.channel.unix
Class Unix
- java.lang.Object
-
- io.netty.channel.unix.Unix
-
public final class Unix extends java.lang.ObjectTells 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(java.lang.Runnable registerTask)Internal method...static java.lang.ThrowableunavailabilityCause()Deprecated.
-
-
-
Method Detail
-
registerInternal
@UnstableApi public static void registerInternal(java.lang.Runnable registerTask)
Internal method... Should never be called from the user.- Parameters:
registerTask-
-
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:
java.lang.UnsatisfiedLinkError- if unavailable
-
unavailabilityCause
@Deprecated public static java.lang.Throwable unavailabilityCause()
Deprecated.Returns the cause of unavailability ofnetty_transport_native_unix.- Returns:
- the cause if unavailable.
nullif available.
-
-