public class NettyEventLoopFactory extends Object
| Modifier and Type | Field and Description |
|---|---|
static org.apache.dubbo.common.resource.GlobalResourceInitializer<io.netty.channel.EventLoopGroup> |
NIO_EVENT_LOOP_GROUP
netty client bootstrap
|
| Constructor and Description |
|---|
NettyEventLoopFactory() |
| Modifier and Type | Method and Description |
|---|---|
static io.netty.channel.EventLoopGroup |
eventLoopGroup(int threads,
String threadFactoryName) |
static Class<? extends io.netty.channel.socket.ServerSocketChannel> |
serverSocketChannelClass() |
static Class<? extends io.netty.channel.socket.SocketChannel> |
socketChannelClass() |
public static final org.apache.dubbo.common.resource.GlobalResourceInitializer<io.netty.channel.EventLoopGroup> NIO_EVENT_LOOP_GROUP
public static io.netty.channel.EventLoopGroup eventLoopGroup(int threads,
String threadFactoryName)
public static Class<? extends io.netty.channel.socket.SocketChannel> socketChannelClass()
public static Class<? extends io.netty.channel.socket.ServerSocketChannel> serverSocketChannelClass()
Copyright © 2011–2020 The Apache Software Foundation. All rights reserved.