@InterfaceAudience.Private public class NettyEventLoopGroupConfig extends Object
Modifier and Type | Field and Description |
---|---|
private Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> |
clientChannelClass |
static boolean |
DEFAULT_NETTY_NATIVETRANSPORT |
static int |
DEFAULT_NETTY_WORKER_COUNT |
private org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup |
group |
static String |
NETTY_NATIVETRANSPORT_KEY |
static String |
NETTY_WORKER_COUNT_KEY |
private Class<? extends org.apache.hbase.thirdparty.io.netty.channel.ServerChannel> |
serverChannelClass |
Constructor and Description |
---|
NettyEventLoopGroupConfig(org.apache.hadoop.conf.Configuration conf,
String threadPoolName) |
Modifier and Type | Method and Description |
---|---|
Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> |
clientChannelClass() |
org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup |
group() |
Class<? extends org.apache.hbase.thirdparty.io.netty.channel.ServerChannel> |
serverChannelClass() |
private static boolean |
useEpoll(org.apache.hadoop.conf.Configuration conf) |
public static final String NETTY_WORKER_COUNT_KEY
public static final int DEFAULT_NETTY_WORKER_COUNT
public static final String NETTY_NATIVETRANSPORT_KEY
public static final boolean DEFAULT_NETTY_NATIVETRANSPORT
private final org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup group
private final Class<? extends org.apache.hbase.thirdparty.io.netty.channel.ServerChannel> serverChannelClass
private final Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> clientChannelClass
public NettyEventLoopGroupConfig(org.apache.hadoop.conf.Configuration conf, String threadPoolName)
private static boolean useEpoll(org.apache.hadoop.conf.Configuration conf)
public org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup group()
public Class<? extends org.apache.hbase.thirdparty.io.netty.channel.ServerChannel> serverChannelClass()
public Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> clientChannelClass()
Copyright © 2007–2020 The Apache Software Foundation. All rights reserved.