Class LocalEventLoopGroup
java.lang.Object
- All Implemented Interfaces:
EventLoopGroup, IoEventLoopGroup, EventExecutorGroup, java.lang.Iterable<EventExecutor>, java.util.concurrent.Executor, java.util.concurrent.ExecutorService, java.util.concurrent.ScheduledExecutorService
Deprecated.
-
Constructor Summary
ConstructorsConstructorDescriptionDeprecated.Create a new instance with the default number of threads.LocalEventLoopGroup(int nThreads) Deprecated.Create a new instanceLocalEventLoopGroup(int nThreads, java.util.concurrent.ThreadFactory threadFactory) Deprecated.Create a new instanceLocalEventLoopGroup(java.util.concurrent.ThreadFactory threadFactory) Deprecated.Create a new instance with the default number of threads and the givenThreadFactory. -
Method Summary
Methods inherited from class MultiThreadIoEventLoopGroup
newChild, newChild, next, setIoRatioMethods inherited from class MultithreadEventLoopGroup
newDefaultThreadFactory, register, register, registerMethods inherited from class MultithreadEventExecutorGroup
activeExecutorCount, awaitTermination, executorCount, executorUtilizations, isShutdown, isShuttingDown, isTerminated, iterator, shutdown, shutdownGracefully, terminationFutureMethods inherited from class AbstractEventExecutorGroup
execute, invokeAll, invokeAll, invokeAny, invokeAny, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdownGracefully, shutdownNow, submit, submit, submitMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface EventExecutorGroup
isShuttingDown, iterator, schedule, schedule, scheduleAtFixedRate, scheduleWithFixedDelay, shutdown, shutdownGracefully, shutdownGracefully, shutdownNow, submit, submit, submit, terminationFuture, tickerMethods inherited from interface EventLoopGroup
registerMethods inherited from interface java.util.concurrent.Executor
executeMethods inherited from interface java.util.concurrent.ExecutorService
awaitTermination, invokeAll, invokeAll, invokeAny, invokeAny, isShutdown, isTerminatedMethods inherited from interface IoEventLoopGroup
isCompatible, isIoType, register, register, registerMethods inherited from interface java.lang.Iterable
forEach, spliterator
-
Constructor Details
-
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(java.util.concurrent.ThreadFactory threadFactory) Deprecated.Create a new instance with the default number of threads and the givenThreadFactory.- Parameters:
threadFactory- theThreadFactoryornullto use the default
-
LocalEventLoopGroup
public LocalEventLoopGroup(int nThreads, java.util.concurrent.ThreadFactory threadFactory) Deprecated.Create a new instance- Parameters:
nThreads- the number of threads to usethreadFactory- theThreadFactoryornullto use the default
-
MultiThreadIoEventLoopGroupwithLocalIoHandler.newFactory().