Package org.apache.bookkeeper.util
Class EventLoopUtil
- java.lang.Object
-
- org.apache.bookkeeper.util.EventLoopUtil
-
public final class EventLoopUtil extends java.lang.Object
Utility class to initialize Netty event loops.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.netty.channel.EventLoopGroup
getClientEventLoopGroup(ClientConfiguration conf, java.util.concurrent.ThreadFactory threadFactory)
static io.netty.channel.EventLoopGroup
getServerAcceptorGroup(ServerConfiguration conf, java.util.concurrent.ThreadFactory threadFactory)
static io.netty.channel.EventLoopGroup
getServerEventLoopGroup(ServerConfiguration conf, java.util.concurrent.ThreadFactory threadFactory)
-
-
-
Method Detail
-
getClientEventLoopGroup
public static io.netty.channel.EventLoopGroup getClientEventLoopGroup(ClientConfiguration conf, java.util.concurrent.ThreadFactory threadFactory)
-
getServerEventLoopGroup
public static io.netty.channel.EventLoopGroup getServerEventLoopGroup(ServerConfiguration conf, java.util.concurrent.ThreadFactory threadFactory)
-
getServerAcceptorGroup
public static io.netty.channel.EventLoopGroup getServerAcceptorGroup(ServerConfiguration conf, java.util.concurrent.ThreadFactory threadFactory)
-
-