Package io.netty.channel
Class DefaultEventLoopGroup
- java.lang.Object
-
- io.netty.util.concurrent.AbstractEventExecutorGroup
-
- io.netty.util.concurrent.MultithreadEventExecutorGroup
-
- io.netty.channel.MultithreadEventLoopGroup
-
- io.netty.channel.DefaultEventLoopGroup
-
- All Implemented Interfaces:
EventLoopGroup,io.netty.util.concurrent.EventExecutorGroup,Iterable<io.netty.util.concurrent.EventExecutor>,Executor,ExecutorService,ScheduledExecutorService
@Deprecated public class DefaultEventLoopGroup extends MultithreadEventLoopGroup
Deprecated.MultithreadEventLoopGroupwhich must be used for the local transport.
-
-
Constructor Summary
Constructors Constructor Description DefaultEventLoopGroup()Deprecated.Create a new instance with the default number of threads.DefaultEventLoopGroup(int nThreads)Deprecated.Create a new instanceDefaultEventLoopGroup(int nThreads, Executor executor)Deprecated.Create a new instanceDefaultEventLoopGroup(int nThreads, ThreadFactory threadFactory)Deprecated.Create a new instanceDefaultEventLoopGroup(ThreadFactory threadFactory)Deprecated.Create a new instance with the default number of threads and the givenThreadFactory.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description protected EventLoopnewChild(Executor executor, Object... args)Deprecated.-
Methods inherited from class io.netty.channel.MultithreadEventLoopGroup
newDefaultThreadFactory, next, register, register, register
-
Methods inherited from class io.netty.util.concurrent.MultithreadEventExecutorGroup
activeExecutorCount, awaitTermination, executorCount, executorUtilizations, isShutdown, isShuttingDown, isTerminated, iterator, shutdown, shutdownGracefully, terminationFuture
-
Methods inherited from class io.netty.util.concurrent.AbstractEventExecutorGroup
execute, invokeAll, invokeAll, invokeAny, invokeAny, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownGracefully, shutdownNow, submit, submit, submit
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface io.netty.util.concurrent.EventExecutorGroup
isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture, ticker
-
Methods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminated
-
Methods inherited from interface java.lang.Iterable
forEach, spliterator
-
-
-
-
Constructor Detail
-
DefaultEventLoopGroup
public DefaultEventLoopGroup()
Deprecated.Create a new instance with the default number of threads.
-
DefaultEventLoopGroup
public DefaultEventLoopGroup(int nThreads)
Deprecated.Create a new instance- Parameters:
nThreads- the number of threads to use
-
DefaultEventLoopGroup
public DefaultEventLoopGroup(ThreadFactory threadFactory)
Deprecated.Create a new instance with the default number of threads and the givenThreadFactory.- Parameters:
threadFactory- theThreadFactoryornullto use the default
-
DefaultEventLoopGroup
public DefaultEventLoopGroup(int nThreads, ThreadFactory threadFactory)Deprecated.Create a new instance- Parameters:
nThreads- the number of threads to usethreadFactory- theThreadFactoryornullto use the default
-
DefaultEventLoopGroup
public DefaultEventLoopGroup(int nThreads, Executor executor)Deprecated.Create a new instance- Parameters:
nThreads- the number of threads to useexecutor- the Executor to use, ornullif the default should be used.
-
-