Class Unix
java.lang.Object
io.netty.channel.unix.Unix
public final class Unix
extends java.lang.Object
Tells if
netty-transport-native-unix is
supported.-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final java.util.concurrent.atomic.AtomicBoolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidDeprecated.static booleanDeprecated.static voidregisterInternal(java.lang.Runnable registerTask) Internal method...static java.lang.ThrowableDeprecated.Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
registered
private static final java.util.concurrent.atomic.AtomicBoolean registered
-
-
Constructor Details
-
Unix
private Unix()
-
-
Method Details
-
registerInternal
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
-