@ThreadSafe public class NettyEventLoopProvider extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
@NotNull io.netty.channel.EventLoop |
acquireEventLoop(@Nullable java.util.concurrent.Executor executor,
int threadCount) |
@NotNull io.netty.channel.ChannelFactory<?> |
getChannelFactory() |
void |
releaseEventLoop(@Nullable java.util.concurrent.Executor executor) |
@NotNull public @NotNull io.netty.channel.EventLoop acquireEventLoop(@Nullable @Nullable java.util.concurrent.Executor executor, int threadCount)
public void releaseEventLoop(@Nullable @Nullable java.util.concurrent.Executor executor)
@NotNull public @NotNull io.netty.channel.ChannelFactory<?> getChannelFactory()