| Package | Description |
|---|---|
| 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.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).
|
| Constructor and Description |
|---|
MultiThreadIoEventLoopGroup(Executor executor,
IoHandlerFactory ioHandlerFactory)
Creates a new instance of the
MultiThreadIoEventLoopGroup using the default number
of threads. |
MultiThreadIoEventLoopGroup(int nThreads,
Executor executor,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
IoHandlerFactory ioHandlerFactory)
Creates a new instance of the
MultiThreadIoEventLoopGroup. |
MultiThreadIoEventLoopGroup(int nThreads,
Executor executor,
IoHandlerFactory ioHandlerFactory)
Creates a new instance of the
MultiThreadIoEventLoopGroup. |
MultiThreadIoEventLoopGroup(int nThreads,
Executor executor,
IoHandlerFactory ioHandlerFactory,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
Object... args)
Creates a new instance of the
MultiThreadIoEventLoopGroup. |
MultiThreadIoEventLoopGroup(int nThreads,
Executor executor,
IoHandlerFactory ioHandlerFactory,
Object... args)
Creates a new instance of the
MultiThreadIoEventLoopGroup. |
MultiThreadIoEventLoopGroup(int nThreads,
IoHandlerFactory ioHandlerFactory)
/**
Creates a new instance of the
MultiThreadIoEventLoopGroup using the default ThreadFactory. |
MultiThreadIoEventLoopGroup(int nThreads,
ThreadFactory threadFactory,
IoHandlerFactory ioHandlerFactory)
Creates a new instance of the
MultiThreadIoEventLoopGroup. |
MultiThreadIoEventLoopGroup(int nThreads,
ThreadFactory threadFactory,
IoHandlerFactory ioHandlerFactory,
io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory,
Object... args)
Creates a new instance of the
MultiThreadIoEventLoopGroup. |
MultiThreadIoEventLoopGroup(int nThreads,
ThreadFactory threadFactory,
IoHandlerFactory ioHandlerFactory,
Object... args)
Creates a new instance of the
MultiThreadIoEventLoopGroup. |
MultiThreadIoEventLoopGroup(IoHandlerFactory ioHandlerFactory)
Creates a new instance of the
MultiThreadIoEventLoopGroup using the default number
of threads and default ThreadFactory. |
MultiThreadIoEventLoopGroup(ThreadFactory threadFactory,
IoHandlerFactory ioHandlerFactory)
Create a new instance using the default number of thread.
|
| Modifier and Type | Method and Description |
|---|---|
static IoHandlerFactory |
LocalIoHandler.newFactory()
Returns a new
IoHandlerFactory that creates LocalIoHandler instances. |
| Modifier and Type | Method and Description |
|---|---|
static IoHandlerFactory |
NioIoHandler.newFactory()
Returns a new
IoHandlerFactory that creates NioIoHandler instances |
static IoHandlerFactory |
NioIoHandler.newFactory(SelectorProvider selectorProvider)
Returns a new
IoHandlerFactory that creates NioIoHandler instances. |
static IoHandlerFactory |
NioIoHandler.newFactory(SelectorProvider selectorProvider,
SelectStrategyFactory selectStrategyFactory)
Returns a new
IoHandlerFactory that creates NioIoHandler instances. |
Copyright © 2008–2025 The Netty Project. All rights reserved.