@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 |
private org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup |
group |
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) |
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–2019 The Apache Software Foundation. All rights reserved.