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 virtualChannel
that helps wrapping a series of handlers to unit test the handlers or use them in non-I/O context.io.netty.channel.epoll Optimized transport for linux which uses EPOLL Edge-Triggered Mode for maximal performance.io.netty.channel.kqueue BSD specific transport.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 EventLoopGroup
ServerBootstrap. childGroup
private EventLoopGroup
ServerBootstrap.ServerBootstrapAcceptor. childGroup
(package private) EventLoopGroup
AbstractBootstrap. group
Methods in io.netty.bootstrap that return EventLoopGroup Modifier and Type Method Description EventLoopGroup
ServerBootstrap. childGroup()
Deprecated.UseServerBootstrap.config()
instead.EventLoopGroup
ServerBootstrapConfig. childGroup()
Returns the configuredEventLoopGroup
which will be used for the child channels ornull
if non is configured yet.EventLoopGroup
AbstractBootstrap. group()
Deprecated.UseAbstractBootstrap.config()
instead.EventLoopGroup
AbstractBootstrapConfig. group()
Returns the configuredEventLoopGroup
ornull
if non is configured yet.Methods in io.netty.bootstrap with parameters of type EventLoopGroup Modifier and Type Method Description Bootstrap
Bootstrap. clone(EventLoopGroup group)
Returns a deep clone of this bootstrap which has the identical configuration except that it uses the givenEventLoopGroup
.B
AbstractBootstrap. group(EventLoopGroup group)
TheEventLoopGroup
which is used to handle all the events for the to-be-createdChannel
ServerBootstrap
ServerBootstrap. group(EventLoopGroup group)
Specify theEventLoopGroup
which is used for the parent (acceptor) and the child (client).ServerBootstrap
ServerBootstrap. group(EventLoopGroup parentGroup, EventLoopGroup childGroup)
Set theEventLoopGroup
for 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 interface
EventLoop
Will handle all the I/O operations for aChannel
once registered.Classes in io.netty.channel that implement EventLoopGroup Modifier and Type Class Description class
AbstractEventLoop
Skeletal implementation ofEventLoop
.class
AbstractEventLoopGroup
Skeletal implementation ofEventLoopGroup
.class
DefaultEventLoop
class
DefaultEventLoopGroup
MultithreadEventLoopGroup
which must be used for the local transport.class
MultithreadEventLoopGroup
Abstract base class forEventLoopGroup
implementations that handles their tasks with multiple threads at the same time.class
SingleThreadEventLoop
Abstract base class forEventLoop
s that execute all its submitted tasks in a single thread.class
ThreadPerChannelEventLoop
Deprecated.this will be remove in the next-major release.class
ThreadPerChannelEventLoopGroup
Deprecated.this will be remove in the next-major release.Methods in io.netty.channel that return EventLoopGroup Modifier and Type Method Description EventLoopGroup
AbstractEventLoop. parent()
EventLoopGroup
EventLoop. parent()
EventLoopGroup
SingleThreadEventLoop. 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) class
EmbeddedEventLoop
Methods in io.netty.channel.embedded that return EventLoopGroup Modifier and Type Method Description EventLoopGroup
EmbeddedEventLoop. parent()
-
Uses of EventLoopGroup in io.netty.channel.epoll
Classes in io.netty.channel.epoll that implement EventLoopGroup Modifier and Type Class Description (package private) class
EpollEventLoop
EventLoop
which uses epoll under the covers.class
EpollEventLoopGroup
EventLoopGroup
which uses epoll under the covers.Constructors in io.netty.channel.epoll with parameters of type EventLoopGroup Constructor Description EpollEventLoop(EventLoopGroup parent, java.util.concurrent.Executor executor, int maxEvents, SelectStrategy strategy, RejectedExecutionHandler rejectedExecutionHandler, EventLoopTaskQueueFactory taskQueueFactory, EventLoopTaskQueueFactory tailTaskQueueFactory)
-
Uses of EventLoopGroup in io.netty.channel.kqueue
Classes in io.netty.channel.kqueue that implement EventLoopGroup Modifier and Type Class Description (package private) class
KQueueEventLoop
EventLoop
which uses kqueue under the covers.class
KQueueEventLoopGroup
Constructors in io.netty.channel.kqueue with parameters of type EventLoopGroup Constructor Description KQueueEventLoop(EventLoopGroup parent, java.util.concurrent.Executor executor, int maxEvents, SelectStrategy strategy, RejectedExecutionHandler rejectedExecutionHandler, EventLoopTaskQueueFactory taskQueueFactory, EventLoopTaskQueueFactory tailTaskQueueFactory)
-
Uses of EventLoopGroup in io.netty.channel.local
Classes in io.netty.channel.local that implement EventLoopGroup Modifier and Type Class Description class
LocalEventLoopGroup
Deprecated.UseDefaultEventLoopGroup
instead. -
Uses of EventLoopGroup in io.netty.channel.nio
Classes in io.netty.channel.nio that implement EventLoopGroup Modifier and Type Class Description class
NioEventLoop
SingleThreadEventLoop
implementation which register theChannel
's to aSelector
and so does the multi-plexing of these in the event loop.class
NioEventLoopGroup
-
Uses of EventLoopGroup in io.netty.channel.oio
Classes in io.netty.channel.oio that implement EventLoopGroup Modifier and Type Class Description class
OioEventLoopGroup
Deprecated.use NIO / EPOLL / KQUEUE transport.
-