public class EpollProvider extends Object
ClassNotFoundException
's caused by the absence of
the netty-transport-native-epoll library during runtime. Internal API.Modifier and Type | Field and Description |
---|---|
static Class<SocketAddress> |
domainSocketAddressClass |
static Class<Channel> |
epollDomainSocketChannelClass |
static Class<EventLoopGroup> |
epollEventLoopGroupClass |
protected static io.netty.util.internal.logging.InternalLogger |
logger |
Constructor and Description |
---|
EpollProvider() |
Modifier and Type | Method and Description |
---|---|
static EventLoopGroup |
newEventLoopGroup(int nThreads,
ThreadFactory threadFactory) |
protected static final io.netty.util.internal.logging.InternalLogger logger
public static final Class<EventLoopGroup> epollEventLoopGroupClass
public static final Class<SocketAddress> domainSocketAddressClass
public static EventLoopGroup newEventLoopGroup(int nThreads, ThreadFactory threadFactory)
Copyright © 2016. All rights reserved.