Package org.apache.hadoop.hbase.util
Class NettyEventLoopGroupConfig
java.lang.Object
org.apache.hadoop.hbase.util.NettyEventLoopGroupConfig
Event loop group related config.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel>static final booleanstatic final intprivate final org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroupstatic final Stringstatic final Stringprivate final Class<? extends org.apache.hbase.thirdparty.io.netty.channel.ServerChannel> -
Constructor Summary
ConstructorsConstructorDescriptionNettyEventLoopGroupConfig(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.EventLoopGroupgroup()Class<? extends org.apache.hbase.thirdparty.io.netty.channel.ServerChannel>static NettyEventLoopGroupConfigprivate static booleanuseEpoll(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)
-