public class KqueueProvider extends Object
ClassNotFoundException's caused by the absence of
the netty-transport-native-kqueue library during runtime. Internal API.| Modifier and Type | Class and Description |
|---|---|
static interface |
KqueueProvider.KqueueResources |
| Constructor and Description |
|---|
KqueueProvider() |
| Modifier and Type | Method and Description |
|---|---|
static boolean |
isAvailable() |
static boolean |
isEventLoopGroup(Class<? extends EventExecutorGroup> type) |
static EventLoopGroup |
newEventLoopGroup(int nThreads,
ThreadFactory threadFactory)
Create a new
KQueueEventLoopGroup. |
public static boolean isAvailable()
public static boolean isEventLoopGroup(Class<? extends EventExecutorGroup> type)
type - must not be null.type is a KQueueEventLoopGroup.public static EventLoopGroup newEventLoopGroup(int nThreads, ThreadFactory threadFactory)
KQueueEventLoopGroup.nThreads - threadFactory - EventLoopGroup.Copyright © 2019 lettuce.io. All rights reserved.