@UnstableApi
public final class KQueue
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
ensureAvailability()
Ensure that
netty-transport-native-kqueue is
available. |
static boolean |
isAvailable()
Returns
true if and only if the
netty-transport-native-kqueue is available. |
static java.lang.Throwable |
unavailabilityCause()
Returns the cause of unavailability of
netty-transport-native-kqueue . |
public static boolean isAvailable()
true
if and only if the
netty-transport-native-kqueue
is available.public static void ensureAvailability()
netty-transport-native-kqueue
is
available.java.lang.UnsatisfiedLinkError
- if unavailablepublic static java.lang.Throwable unavailabilityCause()
netty-transport-native-kqueue
.null
if available.Copyright © 2008–2019 The Netty Project. All rights reserved.