Package io.netty.channel.unix
Class Unix
- java.lang.Object
-
- io.netty.channel.unix.Unix
-
public final class Unix extends java.lang.Object
Tells ifnetty-transport-native-unix
is supported.
-
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static void
ensureAvailability()
Deprecated.static boolean
isAvailable()
Deprecated.static void
registerInternal(java.lang.Runnable registerTask)
Internal method...static java.lang.Throwable
unavailabilityCause()
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.Returnstrue
if and only if thenetty_transport_native_unix
is available.
-
ensureAvailability
@Deprecated public static void ensureAvailability()
Deprecated.Ensure thatnetty_transport_native_unix
is 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.
null
if available.
-
-