Top Description Fields Constructors Methods
io.netty5.channel.unix

public final Class Unix

extends Object
Class Inheritance
Imports
io.netty5.util.internal.ClassInitializerUtil, .UnstableApi, java.io.IOException, java.net.InetSocketAddress, .PortUnreachableException, java.nio.channels.ClosedChannelException, java.util.concurrent.atomic.AtomicBoolean

Tells if netty-transport-native-unix is supported.

Field Summary

Modifier and TypeField and Description
private static final AtomicBoolean

Constructor Summary

AccessConstructor and Description
private
Unix()

Method Summary

Modifier and TypeMethod and Description
public static void
ensureAvailability()

Deprecated
Ensure that netty_transport_native_unix is available.
public static boolean
isAvailable()

Deprecated
Returns true if and only if the netty_transport_native_unix is available.
public static synchronized void
registerInternal(Runnable
The task to run if this thread caused registration.
registerTask
)

Internal method...

public static Throwable

Returns:

the cause if unavailable. null if available.
unavailabilityCause
()

Deprecated
Returns the cause of unavailability of netty_transport_native_unix.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

registeredback to summary
private static final AtomicBoolean registered

Constructor Detail

Unixback to summary
private Unix()

Method Detail

ensureAvailabilityback to summary
public static void ensureAvailability()

Deprecated

Ensure that netty_transport_native_unix is available.

Annotations
@Deprecated
Exceptions
UnsatisfiedLinkError:
if unavailable
isAvailableback to summary
public static boolean isAvailable()

Deprecated

Returns true if and only if the netty_transport_native_unix is available.

Annotations
@Deprecated
registerInternalback to summary
public static synchronized void registerInternal(Runnable registerTask)

Internal method... Should never be called from the user.

Parameters
registerTask:Runnable

The task to run if this thread caused registration.

Annotations
@UnstableApi
unavailabilityCauseback to summary
public static Throwable unavailabilityCause()

Deprecated

Returns the cause of unavailability of netty_transport_native_unix.

Returns:Throwable

the cause if unavailable. null if available.

Annotations
@Deprecated