Class DefaultEventLoopGroup

All Implemented Interfaces:
EventLoopGroup, EventExecutorGroup, AutoCloseable, Iterable<EventExecutor>, Executor, ExecutorService, ScheduledExecutorService
Direct Known Subclasses:
LocalEventLoopGroup

public class DefaultEventLoopGroup extends MultithreadEventLoopGroup
MultithreadEventLoopGroup which must be used for the local transport.
  • Constructor Details

    • DefaultEventLoopGroup

      public DefaultEventLoopGroup()
      Create a new instance with the default number of threads.
    • DefaultEventLoopGroup

      public DefaultEventLoopGroup(int nThreads)
      Create a new instance
      Parameters:
      nThreads - the number of threads to use
    • DefaultEventLoopGroup

      public DefaultEventLoopGroup(ThreadFactory threadFactory)
      Create a new instance with the default number of threads and the given ThreadFactory.
      Parameters:
      threadFactory - the ThreadFactory or null to use the default
    • DefaultEventLoopGroup

      public DefaultEventLoopGroup(int nThreads, ThreadFactory threadFactory)
      Create a new instance
      Parameters:
      nThreads - the number of threads to use
      threadFactory - the ThreadFactory or null to use the default
    • DefaultEventLoopGroup

      public DefaultEventLoopGroup(int nThreads, Executor executor)
      Create a new instance
      Parameters:
      nThreads - the number of threads to use
      executor - the Executor to use, or null if the default should be used.
  • Method Details