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. |
newChildnewDefaultThreadFactory, next, register, register, registerawaitTermination, 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, terminationFuturepublic 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