- java.lang.Object
-
- io.netty5.channel.unix.Unix
-
public final class Unix extends 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(Runnable registerTask)
Internal method...static Throwable
unavailabilityCause()
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.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:
UnsatisfiedLinkError
- if unavailable
-
unavailabilityCause
@Deprecated public static Throwable unavailabilityCause()
Deprecated.Returns the cause of unavailability ofnetty_transport_native_unix
.- Returns:
- the cause if unavailable.
null
if available.
-
-