public final class Epoll
extends java.lang.Object
netty-transport-native-epoll
is supported.Modifier and Type | Field and Description |
---|---|
private static java.lang.Throwable |
UNAVAILABILITY_CAUSE |
Modifier | Constructor and Description |
---|---|
private |
Epoll() |
Modifier and Type | Method and Description |
---|---|
static void |
ensureAvailability()
Ensure that
netty-transport-native-epoll is
available. |
static boolean |
isAvailable()
Returns
true if and only if the
netty-transport-native-epoll is available. |
static java.lang.Throwable |
unavailabilityCause()
Returns the cause of unavailability of
netty-transport-native-epoll . |
public static boolean isAvailable()
true
if and only if the
netty-transport-native-epoll
is available.public static void ensureAvailability()
netty-transport-native-epoll
is
available.java.lang.UnsatisfiedLinkError
- if unavailablepublic static java.lang.Throwable unavailabilityCause()
netty-transport-native-epoll
.null
if available.