DefaultEventLoopGroup 。
@Deprecated public class LocalEventLoopGroup extends DefaultEventLoopGroup
| Constructor and Description |
|---|
LocalEventLoopGroup()
已过时。
用默认的线程数创建一个新的实例。
|
LocalEventLoopGroup(int nThreads)
已过时。
创建一个新的实例
|
LocalEventLoopGroup(int nThreads, java.util.concurrent.ThreadFactory 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 - 要使用的线程数
public LocalEventLoopGroup(int nThreads,
java.util.concurrent.ThreadFactory threadFactory)
nThreads - 要使用的线程数
threadFactory -
ThreadFactory或
null使用默认值
Copyright © 2008–2018 The Netty Project. All rights reserved.