Package org.apache.bookkeeper.util
Class EventLoopUtil
- java.lang.Object
-
- org.apache.bookkeeper.util.EventLoopUtil
-
public final class EventLoopUtil extends java.lang.ObjectUtility class to initialize Netty event loops.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static io.netty.channel.EventLoopGroupgetClientEventLoopGroup(ClientConfiguration conf, java.util.concurrent.ThreadFactory threadFactory)static io.netty.channel.EventLoopGroupgetServerAcceptorGroup(ServerConfiguration conf, java.util.concurrent.ThreadFactory threadFactory)static io.netty.channel.EventLoopGroupgetServerEventLoopGroup(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)
-
-