Top Fields Constructors Methods
io.netty.incubator.channel.uring

public final Class IOUring

extends Object
Class Inheritance
Imports
io.netty.channel.ChannelOption, io.netty.util.internal.PlatformDependent, .SystemPropertyUtil

Field Summary

Modifier and TypeField and Description
private static final Throwable

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static void
public static boolean
public static boolean

Returns:

true if it's possible to use client-side TCP FastOpen via io_uring, otherwise false.
isTcpFastOpenClientSideAvailable
()

Returns true if the io_uring native transport is both available and supports client-side TCP FastOpen.

public static boolean

Returns:

true if it's possible to use server-side TCP FastOpen via io_uring, otherwise false.
isTcpFastOpenServerSideAvailable
()

Returns true if the io_uring native transport is both available and supports server-side TCP FastOpen.

public static Throwable
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Field Detail

UNAVAILABILITY_CAUSEback to summary
private static final Throwable UNAVAILABILITY_CAUSE

Constructor Detail

IOUringback to summary
private IOUring()

Method Detail

ensureAvailabilityback to summary
public static void ensureAvailability()
isAvailableback to summary
public static boolean isAvailable()
isTcpFastOpenClientSideAvailableback to summary
public static boolean isTcpFastOpenClientSideAvailable()

Returns true if the io_uring native transport is both available and supports client-side TCP FastOpen.

Returns:boolean

true if it's possible to use client-side TCP FastOpen via io_uring, otherwise false.

isTcpFastOpenServerSideAvailableback to summary
public static boolean isTcpFastOpenServerSideAvailable()

Returns true if the io_uring native transport is both available and supports server-side TCP FastOpen.

Returns:boolean

true if it's possible to use server-side TCP FastOpen via io_uring, otherwise false.

unavailabilityCauseback to summary
public static Throwable unavailabilityCause()