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(Bootstrap bootstrap,
int count,
Duration idle,
Duration interval)
Apply Keep-Alive 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.Copyright © 2021 lettuce.io. All rights reserved.