Class IOUring
java.lang.Object
io.netty.incubator.channel.uring.IOUring
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic booleanstatic booleanReturnstrueif the io_uring native transport is both available and supports client-side TCP FastOpen.static booleanReturnstrueif the io_uring native transport is both available and supports server-side TCP FastOpen.static Throwable
-
Field Details
-
UNAVAILABILITY_CAUSE
-
-
Constructor Details
-
IOUring
private IOUring()
-
-
Method Details
-
isAvailable
public static boolean isAvailable() -
isTcpFastOpenClientSideAvailable
public static boolean isTcpFastOpenClientSideAvailable()Returnstrueif the io_uring native transport is both available and supports client-side TCP FastOpen.- Returns:
trueif it's possible to use client-side TCP FastOpen via io_uring, otherwisefalse.
-
isTcpFastOpenServerSideAvailable
public static boolean isTcpFastOpenServerSideAvailable()Returnstrueif the io_uring native transport is both available and supports server-side TCP FastOpen.- Returns:
trueif it's possible to use server-side TCP FastOpen via io_uring, otherwisefalse.
-
ensureAvailability
public static void ensureAvailability()
-