Uses of Interface
io.netty.channel.IoHandlerFactory
-
Packages that use IoHandlerFactory 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.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.uring io_uring is a high I/O performance scalable interface for fully asynchronous Linux syscalls. -
-
Uses of IoHandlerFactory in io.netty.channel
Methods in io.netty.channel with parameters of type IoHandlerFactory Modifier and Type Method Description protected IoEventLoop
MultiThreadIoEventLoopGroup. newChild(java.util.concurrent.Executor executor, IoHandlerFactory ioHandlerFactory, java.lang.Object... args)
Constructors in io.netty.channel with parameters of type IoHandlerFactory Constructor Description ManualIoEventLoop(IoEventLoopGroup parent, java.lang.Thread owningThread, IoHandlerFactory factory)
Create a newIoEventLoop
that is owned by the user and so needs to be driven by the user with the givenThread
.ManualIoEventLoop(java.lang.Thread owningThread, IoHandlerFactory factory)
Create a newIoEventLoop
that is owned by the user and so needs to be driven by the user with the givenThread
.MultiThreadIoEventLoopGroup(int nThreads, IoHandlerFactory ioHandlerFactory)
/** Creates a new instance of theMultiThreadIoEventLoopGroup
using the defaultThreadFactory
.MultiThreadIoEventLoopGroup(int nThreads, java.util.concurrent.Executor executor, IoHandlerFactory ioHandlerFactory)
Creates a new instance of theMultiThreadIoEventLoopGroup
.MultiThreadIoEventLoopGroup(int nThreads, java.util.concurrent.Executor executor, IoHandlerFactory ioHandlerFactory, EventExecutorChooserFactory chooserFactory, java.lang.Object... args)
Creates a new instance of theMultiThreadIoEventLoopGroup
.MultiThreadIoEventLoopGroup(int nThreads, java.util.concurrent.Executor executor, IoHandlerFactory ioHandlerFactory, java.lang.Object... args)
Creates a new instance of theMultiThreadIoEventLoopGroup
.MultiThreadIoEventLoopGroup(int nThreads, java.util.concurrent.Executor executor, EventExecutorChooserFactory chooserFactory, IoHandlerFactory ioHandlerFactory)
Creates a new instance of theMultiThreadIoEventLoopGroup
.MultiThreadIoEventLoopGroup(int nThreads, java.util.concurrent.ThreadFactory threadFactory, IoHandlerFactory ioHandlerFactory)
Creates a new instance of theMultiThreadIoEventLoopGroup
.MultiThreadIoEventLoopGroup(int nThreads, java.util.concurrent.ThreadFactory threadFactory, IoHandlerFactory ioHandlerFactory, EventExecutorChooserFactory chooserFactory, java.lang.Object... args)
Creates a new instance of theMultiThreadIoEventLoopGroup
.MultiThreadIoEventLoopGroup(int nThreads, java.util.concurrent.ThreadFactory threadFactory, IoHandlerFactory ioHandlerFactory, java.lang.Object... args)
Creates a new instance of theMultiThreadIoEventLoopGroup
.MultiThreadIoEventLoopGroup(IoHandlerFactory ioHandlerFactory)
Creates a new instance of theMultiThreadIoEventLoopGroup
using the default number of threads and defaultThreadFactory
.MultiThreadIoEventLoopGroup(java.util.concurrent.Executor executor, IoHandlerFactory ioHandlerFactory)
Creates a new instance of theMultiThreadIoEventLoopGroup
using the default number of threads.MultiThreadIoEventLoopGroup(java.util.concurrent.ThreadFactory threadFactory, IoHandlerFactory ioHandlerFactory)
Create a new instance using the default number of thread.SingleThreadIoEventLoop(IoEventLoopGroup parent, java.util.concurrent.Executor executor, IoHandlerFactory ioHandlerFactory)
Creates a new instanceSingleThreadIoEventLoop(IoEventLoopGroup parent, java.util.concurrent.Executor executor, IoHandlerFactory ioHandlerFactory, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler, long maxTaskProcessingQuantumMs)
Creates a new instanceSingleThreadIoEventLoop(IoEventLoopGroup parent, java.util.concurrent.Executor executor, IoHandlerFactory ioHandlerFactory, java.util.Queue<java.lang.Runnable> taskQueue, java.util.Queue<java.lang.Runnable> tailTaskQueue, RejectedExecutionHandler rejectedExecutionHandler)
Creates a new instanceSingleThreadIoEventLoop(IoEventLoopGroup parent, java.util.concurrent.ThreadFactory threadFactory, IoHandlerFactory ioHandlerFactory)
Creates a new instanceSingleThreadIoEventLoop(IoEventLoopGroup parent, java.util.concurrent.ThreadFactory threadFactory, IoHandlerFactory ioHandlerFactory, int maxPendingTasks, RejectedExecutionHandler rejectedExecutionHandler, long maxTaskProcessingQuantumMs)
Creates a new instance -
Uses of IoHandlerFactory in io.netty.channel.epoll
Methods in io.netty.channel.epoll that return IoHandlerFactory Modifier and Type Method Description static IoHandlerFactory
EpollIoHandler. newFactory()
Returns a newIoHandlerFactory
that createsEpollIoHandler
instances.static IoHandlerFactory
EpollIoHandler. newFactory(int maxEvents, SelectStrategyFactory selectStrategyFactory)
Returns a newIoHandlerFactory
that createsEpollIoHandler
instances.Methods in io.netty.channel.epoll with parameters of type IoHandlerFactory Modifier and Type Method Description protected IoEventLoop
EpollEventLoopGroup. newChild(java.util.concurrent.Executor executor, IoHandlerFactory ioHandlerFactory, java.lang.Object... args)
Deprecated. -
Uses of IoHandlerFactory in io.netty.channel.kqueue
Methods in io.netty.channel.kqueue that return IoHandlerFactory Modifier and Type Method Description static IoHandlerFactory
KQueueIoHandler. newFactory()
Returns a newIoHandlerFactory
that createsKQueueIoHandler
instances.static IoHandlerFactory
KQueueIoHandler. newFactory(int maxEvents, SelectStrategyFactory selectStrategyFactory)
Returns a newIoHandlerFactory
that createsKQueueIoHandler
instances.Methods in io.netty.channel.kqueue with parameters of type IoHandlerFactory Modifier and Type Method Description protected IoEventLoop
KQueueEventLoopGroup. newChild(java.util.concurrent.Executor executor, IoHandlerFactory ioHandlerFactory, java.lang.Object... args)
Deprecated. -
Uses of IoHandlerFactory in io.netty.channel.local
Methods in io.netty.channel.local that return IoHandlerFactory Modifier and Type Method Description static IoHandlerFactory
LocalIoHandler. newFactory()
Returns a newIoHandlerFactory
that createsLocalIoHandler
instances. -
Uses of IoHandlerFactory in io.netty.channel.nio
Methods in io.netty.channel.nio that return IoHandlerFactory Modifier and Type Method Description static IoHandlerFactory
NioIoHandler. newFactory()
Returns a newIoHandlerFactory
that createsNioIoHandler
instancesstatic IoHandlerFactory
NioIoHandler. newFactory(java.nio.channels.spi.SelectorProvider selectorProvider)
Returns a newIoHandlerFactory
that createsNioIoHandler
instances.static IoHandlerFactory
NioIoHandler. newFactory(java.nio.channels.spi.SelectorProvider selectorProvider, SelectStrategyFactory selectStrategyFactory)
Returns a newIoHandlerFactory
that createsNioIoHandler
instances.Methods in io.netty.channel.nio with parameters of type IoHandlerFactory Modifier and Type Method Description protected IoEventLoop
NioEventLoopGroup. newChild(java.util.concurrent.Executor executor, IoHandlerFactory ioHandlerFactory, java.lang.Object... args)
Deprecated. -
Uses of IoHandlerFactory in io.netty.channel.uring
Methods in io.netty.channel.uring that return IoHandlerFactory Modifier and Type Method Description static IoHandlerFactory
IoUringIoHandler. newFactory()
Create a newIoHandlerFactory
that can be used to createIoUringIoHandler
s.static IoHandlerFactory
IoUringIoHandler. newFactory(int ringSize)
Create a newIoHandlerFactory
that can be used to createIoUringIoHandler
s.static IoHandlerFactory
IoUringIoHandler. newFactory(IoUringIoHandlerConfig config)
Create a newIoHandlerFactory
that can be used to createIoUringIoHandler
s.
-