Uses of Interface
io.netty.channel.EventLoopGroup
-
Packages that use EventLoopGroup Package Description io.netty.bootstrap The helper classes with fluent API which enable an easy implementation of typical client side and server side channel initialization.io.netty.channel The core channel API which is asynchronous and event-driven abstraction of various transports such as a NIO Channel.io.netty.channel.embedded A virtualChannelthat helps wrapping a series of handlers to unit test the handlers or use them in non-I/O context.io.netty.channel.local A virtual transport that enables the communication between the two parties in the same virtual machine.io.netty.channel.nio NIO-based channel API implementation - recommended for a large number of connections (>= 1000).io.netty.channel.oio Old blocking I/O based channel API implementation - recommended for a small number of connections (< 1000). -
-
Uses of EventLoopGroup in io.netty.bootstrap
Fields in io.netty.bootstrap declared as EventLoopGroup Modifier and Type Field Description private EventLoopGroupServerBootstrap. childGroupprivate EventLoopGroupServerBootstrap.ServerBootstrapAcceptor. childGroup(package private) EventLoopGroupAbstractBootstrap. groupMethods in io.netty.bootstrap that return EventLoopGroup Modifier and Type Method Description EventLoopGroupServerBootstrap. childGroup()Deprecated.UseServerBootstrap.config()instead.EventLoopGroupServerBootstrapConfig. childGroup()Returns the configuredEventLoopGroupwhich will be used for the child channels ornullif non is configured yet.EventLoopGroupAbstractBootstrap. group()Deprecated.UseAbstractBootstrap.config()instead.EventLoopGroupAbstractBootstrapConfig. group()Returns the configuredEventLoopGroupornullif non is configured yet.Methods in io.netty.bootstrap with parameters of type EventLoopGroup Modifier and Type Method Description BootstrapBootstrap. clone(EventLoopGroup group)Returns a deep clone of this bootstrap which has the identical configuration except that it uses the givenEventLoopGroup.BAbstractBootstrap. group(EventLoopGroup group)TheEventLoopGroupwhich is used to handle all the events for the to-be-createdChannelServerBootstrapServerBootstrap. group(EventLoopGroup group)Specify theEventLoopGroupwhich is used for the parent (acceptor) and the child (client).ServerBootstrapServerBootstrap. group(EventLoopGroup parentGroup, EventLoopGroup childGroup)Set theEventLoopGroupfor the parent (acceptor) and the child (client).Constructors in io.netty.bootstrap with parameters of type EventLoopGroup Constructor Description ServerBootstrapAcceptor(Channel channel, EventLoopGroup childGroup, ChannelHandler childHandler, java.util.Map.Entry<ChannelOption<?>,java.lang.Object>[] childOptions, java.util.Map.Entry<AttributeKey<?>,java.lang.Object>[] childAttrs) -
Uses of EventLoopGroup in io.netty.channel
Subinterfaces of EventLoopGroup in io.netty.channel Modifier and Type Interface Description interfaceEventLoopWill handle all the I/O operations for aChannelonce registered.Classes in io.netty.channel that implement EventLoopGroup Modifier and Type Class Description classAbstractEventLoopSkeletal implementation ofEventLoop.classAbstractEventLoopGroupSkeletal implementation ofEventLoopGroup.classDefaultEventLoopclassDefaultEventLoopGroupMultithreadEventLoopGroupwhich must be used for the local transport.classMultithreadEventLoopGroupAbstract base class forEventLoopGroupimplementations that handles their tasks with multiple threads at the same time.classSingleThreadEventLoopAbstract base class forEventLoops that execute all its submitted tasks in a single thread.classThreadPerChannelEventLoopDeprecated.this will be remove in the next-major release.classThreadPerChannelEventLoopGroupDeprecated.this will be remove in the next-major release.Methods in io.netty.channel that return EventLoopGroup Modifier and Type Method Description EventLoopGroupAbstractEventLoop. parent()EventLoopGroupEventLoop. parent()EventLoopGroupSingleThreadEventLoop. parent()Constructors in io.netty.channel with parameters of type EventLoopGroup Constructor Description AbstractEventLoop(EventLoopGroup parent)DefaultEventLoop(EventLoopGroup parent)DefaultEventLoop(EventLoopGroup parent, java.util.concurrent.Executor executor)DefaultEventLoop(EventLoopGroup parent, java.util.concurrent.ThreadFactory threadFactory)SingleThreadEventLoop(EventLoopGroup parent, java.util.concurrent.Executor executor, boolean addTaskWakesUp)SingleThreadEventLoop(EventLoopGroup parent, java.util.concurrent.Executor executor, boolean addTaskWakesUp, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler)SingleThreadEventLoop(EventLoopGroup parent, java.util.concurrent.Executor executor, boolean addTaskWakesUp, java.util.Queue<java.lang.Runnable> taskQueue, java.util.Queue<java.lang.Runnable> tailTaskQueue, RejectedExecutionHandler rejectedExecutionHandler)SingleThreadEventLoop(EventLoopGroup parent, java.util.concurrent.ThreadFactory threadFactory, boolean addTaskWakesUp)SingleThreadEventLoop(EventLoopGroup parent, java.util.concurrent.ThreadFactory threadFactory, boolean addTaskWakesUp, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler) -
Uses of EventLoopGroup in io.netty.channel.embedded
Classes in io.netty.channel.embedded that implement EventLoopGroup Modifier and Type Class Description (package private) classEmbeddedEventLoopMethods in io.netty.channel.embedded that return EventLoopGroup Modifier and Type Method Description EventLoopGroupEmbeddedEventLoop. parent() -
Uses of EventLoopGroup in io.netty.channel.local
Classes in io.netty.channel.local that implement EventLoopGroup Modifier and Type Class Description classLocalEventLoopGroupDeprecated.UseDefaultEventLoopGroupinstead. -
Uses of EventLoopGroup in io.netty.channel.nio
Classes in io.netty.channel.nio that implement EventLoopGroup Modifier and Type Class Description classNioEventLoopSingleThreadEventLoopimplementation which register theChannel's to aSelectorand so does the multi-plexing of these in the event loop.classNioEventLoopGroup -
Uses of EventLoopGroup in io.netty.channel.oio
Classes in io.netty.channel.oio that implement EventLoopGroup Modifier and Type Class Description classOioEventLoopGroupDeprecated.use NIO / EPOLL / KQUEUE transport.
-