DefaultEventLoopGroup
instead.@Deprecated public class LocalEventLoopGroup extends DefaultEventLoopGroup
构造器和说明 |
---|
LocalEventLoopGroup()
已过时。
Create a new instance with the default number of threads.
|
LocalEventLoopGroup(int nThreads)
已过时。
Create a new instance
|
LocalEventLoopGroup(int nThreads,
java.util.concurrent.ThreadFactory threadFactory)
已过时。
Create a new instance
|
LocalEventLoopGroup(java.util.concurrent.ThreadFactory threadFactory)
已过时。
Create a new instance with the default number of threads and the given
ThreadFactory . |
newChild
newDefaultThreadFactory, next, register, register, register
awaitTermination, executorCount, isShutdown, isShuttingDown, isTerminated, iterator, shutdown, shutdownGracefully, terminationFuture
execute, invokeAll, invokeAll, invokeAny, invokeAny, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownGracefully, shutdownNow, submit, submit, submit
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture
public LocalEventLoopGroup()
public LocalEventLoopGroup(int nThreads)
nThreads
- the number of threads to usepublic LocalEventLoopGroup(java.util.concurrent.ThreadFactory threadFactory)
ThreadFactory
.threadFactory
- the ThreadFactory
or null
to use the defaultpublic LocalEventLoopGroup(int nThreads, java.util.concurrent.ThreadFactory threadFactory)
nThreads
- the number of threads to usethreadFactory
- the ThreadFactory
or null
to use the default