public class IOUringProvider extends Object
ClassNotFoundException's caused by the absence
of the netty-incubator-transport-native-io_uring library during runtime. Internal API.| Constructor and Description |
|---|
IOUringProvider() |
| Modifier and Type | Method and Description |
|---|---|
static void |
applyKeepAlive(io.netty.bootstrap.Bootstrap bootstrap,
int count,
Duration idle,
Duration interval)
Apply Keep-Alive options.
|
static void |
applyTcpUserTimeout(io.netty.bootstrap.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(io.netty.bootstrap.Bootstrap bootstrap,
int count,
Duration idle,
Duration interval)
public static void applyTcpUserTimeout(io.netty.bootstrap.Bootstrap bootstrap,
Duration timeout)
Copyright © 2024 lettuce.io. All rights reserved.