Package io.netty.channel.local
Class LocalEventLoopGroup
-
- All Implemented Interfaces:
EventLoopGroup
,EventExecutorGroup
,Iterable<EventExecutor>
,Executor
,ExecutorService
,ScheduledExecutorService
@Deprecated public class LocalEventLoopGroup extends DefaultEventLoopGroup
Deprecated.UseDefaultEventLoopGroup
instead.
-
-
Constructor Summary
Constructors Constructor Description LocalEventLoopGroup()
Deprecated.Create a new instance with the default number of threads.LocalEventLoopGroup(int nThreads)
Deprecated.Create a new instanceLocalEventLoopGroup(int nThreads, ThreadFactory threadFactory)
Deprecated.Create a new instanceLocalEventLoopGroup(ThreadFactory threadFactory)
Deprecated.Create a new instance with the default number of threads and the givenThreadFactory
.
-
Method Summary
-
Methods inherited from class io.netty.channel.DefaultEventLoopGroup
newChild
-
Methods inherited from class io.netty.channel.MultithreadEventLoopGroup
newDefaultThreadFactory, next, register, register, register
-
Methods inherited from class io.netty.util.concurrent.MultithreadEventExecutorGroup
awaitTermination, executorCount, 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
-
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
-
LocalEventLoopGroup
public LocalEventLoopGroup()
Deprecated.Create a new instance with the default number of threads.
-
LocalEventLoopGroup
public LocalEventLoopGroup(int nThreads)
Deprecated.Create a new instance- Parameters:
nThreads
- the number of threads to use
-
LocalEventLoopGroup
public LocalEventLoopGroup(ThreadFactory threadFactory)
Deprecated.Create a new instance with the default number of threads and the givenThreadFactory
.- Parameters:
threadFactory
- theThreadFactory
ornull
to use the default
-
LocalEventLoopGroup
public LocalEventLoopGroup(int nThreads, ThreadFactory threadFactory)
Deprecated.Create a new instance- Parameters:
nThreads
- the number of threads to usethreadFactory
- theThreadFactory
ornull
to use the default
-
-