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