Package org.apache.bookkeeper.util
Class EventLoopUtil
java.lang.Object
org.apache.bookkeeper.util.EventLoopUtil
Utility class to initialize Netty event loops.
-
Method Summary
Modifier and TypeMethodDescriptionstatic io.netty.channel.EventLoopGroupgetClientEventLoopGroup(ClientConfiguration conf, ThreadFactory threadFactory) static io.netty.channel.EventLoopGroupgetServerAcceptorGroup(ServerConfiguration conf, ThreadFactory threadFactory) static io.netty.channel.EventLoopGroupgetServerEventLoopGroup(ServerConfiguration conf, ThreadFactory threadFactory)
-
Method Details
-
getClientEventLoopGroup
public static io.netty.channel.EventLoopGroup getClientEventLoopGroup(ClientConfiguration conf, ThreadFactory threadFactory) -
getServerEventLoopGroup
public static io.netty.channel.EventLoopGroup getServerEventLoopGroup(ServerConfiguration conf, ThreadFactory threadFactory) -
getServerAcceptorGroup
public static io.netty.channel.EventLoopGroup getServerAcceptorGroup(ServerConfiguration conf, ThreadFactory threadFactory)
-