public class EpollProvider extends Object
ClassNotFoundException's caused by the absence of
the netty-transport-native-epoll library during runtime. Internal API.| Constructor and Description |
|---|
EpollProvider() |
| 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 epoll-backed transport. |
static boolean |
isAvailable() |
public static boolean isAvailable()
true if epoll is available.public static EventLoopResources getResources()
EventLoopResources for epoll-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.