Package org.apache.hadoop.hbase.wal
Class NettyAsyncFSWALConfigHelper
java.lang.Object
org.apache.hadoop.hbase.wal.NettyAsyncFSWALConfigHelper
Helper class for passing netty event loop config to
AsyncFSWALProvider
.- Since:
- 2.0.0
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescription(package private) static Pair<org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup,
Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel>> getEventLoopConfig
(org.apache.hadoop.conf.Configuration conf) static void
setEventLoopConfig
(org.apache.hadoop.conf.Configuration conf, org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup group, Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> channelClass) Set the EventLoopGroup and channel class forAsyncFSWALProvider
.
-
Field Details
-
EVENT_LOOP_CONFIG
- See Also:
-
CONFIG_NAME
- See Also:
-
EVENT_LOOP_CONFIG_MAP
private static final Map<String,Pair<org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup, EVENT_LOOP_CONFIG_MAPClass<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel>>>
-
-
Constructor Details
-
NettyAsyncFSWALConfigHelper
private NettyAsyncFSWALConfigHelper()
-
-
Method Details
-
setEventLoopConfig
public static void setEventLoopConfig(org.apache.hadoop.conf.Configuration conf, org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup group, Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel> channelClass) Set the EventLoopGroup and channel class forAsyncFSWALProvider
. -
getEventLoopConfig
static Pair<org.apache.hbase.thirdparty.io.netty.channel.EventLoopGroup,Class<? extends org.apache.hbase.thirdparty.io.netty.channel.Channel>> getEventLoopConfig(org.apache.hadoop.conf.Configuration conf)
-