public final class Epoll extends Object
netty-transport-native-epoll is
supported.| 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 boolean |
isTcpFastOpenClientSideAvailable()
|
static boolean |
isTcpFastOpenServerSideAvailable()
|
static 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.UnsatisfiedLinkError - if unavailablepublic static Throwable unavailabilityCause()
netty-transport-native-epoll.null if available.public static boolean isTcpFastOpenClientSideAvailable()
true if it's possible to use client-side TCP FastOpen via epoll, otherwise false.public static boolean isTcpFastOpenServerSideAvailable()
true if it's possible to use server-side TCP FastOpen via epoll, otherwise false.Copyright © 2008–2025 The Netty Project. All rights reserved.