Class IoUring
java.lang.Object
io.netty.channel.uring.IoUring
-
Method Summary
Modifier and TypeMethodDescriptionstatic voidstatic StringReturns a string representation of the io_uring support and feature set.static booleanReturns if multi-shot ACCEPT is used or not.static booleanstatic booleanReturns if multi-shot POLL_ADD is used or not.static booleanReturns if multi-shot RECV is used or not.static booleanReturns if RECVSEND bundles are used or not.static booleanReturns if it is supported to use an incremental buffer ring.static booleanReturns if it is supported to use a buffer ring.static booleanReturns if SPLICE is supported or not.static 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.toString()static Throwable
-
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.
-
isSpliceSupported
public static boolean isSpliceSupported()Returns if SPLICE is supported or not.- Returns:
trueif supported,falseotherwise.
-
isRegisterBufferRingSupported
public static boolean isRegisterBufferRingSupported()Returns if it is supported to use a buffer ring.- Returns:
trueif supported,falseotherwise.
-
isRegisterBufferRingIncSupported
public static boolean isRegisterBufferRingIncSupported()Returns if it is supported to use an incremental buffer ring.- Returns:
trueif supported,falseotherwise.
-
isAcceptMultishotEnabled
public static boolean isAcceptMultishotEnabled()Returns if multi-shot ACCEPT is used or not.- Returns:
trueif enabled,falseotherwise.
-
isRecvMultishotEnabled
public static boolean isRecvMultishotEnabled()Returns if multi-shot RECV is used or not.- Returns:
trueif enabled,falseotherwise.
-
isRecvsendBundleEnabled
public static boolean isRecvsendBundleEnabled()Returns if RECVSEND bundles are used or not.- Returns:
trueif enabled,falseotherwise.
-
isPollAddMultishotEnabled
public static boolean isPollAddMultishotEnabled()Returns if multi-shot POLL_ADD is used or not.- Returns:
trueif enabled,falseotherwise.
-
ensureAvailability
public static void ensureAvailability() -
featureString
Returns a string representation of the io_uring support and feature set. This mirrors the debug logging output that reports each individual feature's availability. -
toString
-