Package org.apache.hadoop.hbase.util
Class NettyEventLoopGroupConfig
java.lang.Object
org.apache.hadoop.hbase.util.NettyEventLoopGroupConfig
Event loop group related config.
-
Field Summary
Modifier and TypeFieldDescriptionprivate final Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel>
static final boolean
static final int
private final org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup
static final String
static final String
private final Class<? extends org.apache.hbase.thirdparty.io.netty.channel.ServerChannel>
-
Constructor Summary
ConstructorDescriptionNettyEventLoopGroupConfig
(org.apache.hadoop.conf.Configuration conf, String threadPoolName) -
Method Summary
Modifier and TypeMethodDescriptionClass<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel>
org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup
group()
Class<? extends org.apache.hbase.thirdparty.io.netty.channel.ServerChannel>
static NettyEventLoopGroupConfig
private static boolean
useEpoll
(org.apache.hadoop.conf.Configuration conf)
-
Field Details
-
NETTY_WORKER_COUNT_KEY
- See Also:
-
DEFAULT_NETTY_WORKER_COUNT
- See Also:
-
NETTY_NATIVETRANSPORT_KEY
- See Also:
-
DEFAULT_NETTY_NATIVETRANSPORT
- See Also:
-
group
-
serverChannelClass
private final Class<? extends org.apache.hbase.thirdparty.io.netty.channel.ServerChannel> serverChannelClass -
clientChannelClass
private final Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> clientChannelClass
-
-
Constructor Details
-
NettyEventLoopGroupConfig
-
-
Method Details
-
useEpoll
-
group
-
serverChannelClass
public Class<? extends org.apache.hbase.thirdparty.io.netty.channel.ServerChannel> serverChannelClass() -
clientChannelClass
-
setup
public static NettyEventLoopGroupConfig setup(org.apache.hadoop.conf.Configuration conf, String threadPoolName)
-