public class IOUringProvider extends Object
ClassNotFoundException's caused by the absence
of the netty-transport-native-io_uring library during runtime. Internal API.| Constructor and Description |
|---|
IOUringProvider() |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyKeepAlive(Bootstrap bootstrap,
int count,
Duration idle,
Duration interval)
Apply Keep-Alive options.
|
static void |
applyTcpUserTimeout(Bootstrap bootstrap,
Duration timeout)
Apply TcpUserTimeout options.
|
static EventLoopResources |
getResources()
Returns the
EventLoopResources for io_uring-backed transport. |
static boolean |
isAvailable() |
public static boolean isAvailable()
true if io_uring is available.public static EventLoopResources getResources()
EventLoopResources for io_uring-backed transport. Check availability with isAvailable()
prior to obtaining the resources.EventLoopResources. May be unavailable.public static void applyKeepAlive(Bootstrap bootstrap, int count, Duration idle, Duration interval)
Copyright © 2025 lettuce.io. All rights reserved.