public class LocalEventLoopGroup extends MultithreadEventLoopGroup
MultithreadEventLoopGroup which must be used for the local transport.| Constructor and Description |
|---|
LocalEventLoopGroup()
Create a new instance with the default number of threads.
|
LocalEventLoopGroup(int nThreads)
Create a new instance
|
LocalEventLoopGroup(int nThreads,
ThreadFactory threadFactory)
Create a new instance
|
| Modifier and Type | Method and Description |
|---|---|
protected io.netty.util.concurrent.EventExecutor |
newChild(ThreadFactory threadFactory,
Object... args) |
newDefaultThreadFactory, next, register, registerawaitTermination, children, executorCount, isShutdown, isShuttingDown, isTerminated, iterator, shutdown, shutdownGracefully, terminationFutureexecute, invokeAll, invokeAll, invokeAny, invokeAny, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownGracefully, shutdownNow, submit, submit, submitclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitisShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFutureawaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminatedforEach, spliteratorpublic LocalEventLoopGroup()
public LocalEventLoopGroup(int nThreads)
nThreads - the number of threads to usepublic LocalEventLoopGroup(int nThreads,
ThreadFactory threadFactory)
nThreads - the number of threads to usethreadFactory - the ThreadFactory or null to use the defaultprotected io.netty.util.concurrent.EventExecutor newChild(ThreadFactory threadFactory, Object... args) throws Exception
newChild in class io.netty.util.concurrent.MultithreadEventExecutorGroupExceptionCopyright © 2008–2018 The Netty Project. All rights reserved.