Class ShutdownableNioEventLoopGroup

java.lang.Object
io.netty.util.concurrent.AbstractEventExecutorGroup
io.netty.util.concurrent.MultithreadEventExecutorGroup
io.netty.channel.MultithreadEventLoopGroup
io.netty.channel.nio.NioEventLoopGroup
com.linkedin.alpini.netty4.misc.ShutdownableNioEventLoopGroup
All Implemented Interfaces:
Shutdownable, io.netty.channel.EventLoopGroup, io.netty.util.concurrent.EventExecutorGroup, Iterable<io.netty.util.concurrent.EventExecutor>, Executor, ExecutorService, ScheduledExecutorService

public class ShutdownableNioEventLoopGroup extends io.netty.channel.nio.NioEventLoopGroup implements Shutdownable
  • Constructor Details

    • ShutdownableNioEventLoopGroup

      public ShutdownableNioEventLoopGroup()
      Create a new instance using the default number of threads, the default ThreadFactory and the SelectorProvider which is returned by SelectorProvider.provider().
    • ShutdownableNioEventLoopGroup

      public ShutdownableNioEventLoopGroup(int nThreads)
      Create a new instance using the specified number of threads, ThreadFactory and the SelectorProvider which is returned by SelectorProvider.provider().
      Parameters:
      nThreads -
    • ShutdownableNioEventLoopGroup

      public ShutdownableNioEventLoopGroup(int nThreads, ThreadFactory threadFactory)
      Create a new instance using the specified number of threads, the given ThreadFactory and the SelectorProvider which is returned by SelectorProvider.provider().
      Parameters:
      nThreads -
      threadFactory -
    • ShutdownableNioEventLoopGroup

      public ShutdownableNioEventLoopGroup(int nThreads, Executor executor)
    • ShutdownableNioEventLoopGroup

      public ShutdownableNioEventLoopGroup(int nThreads, ThreadFactory threadFactory, SelectorProvider selectorProvider)
      Create a new instance using the specified number of threads, the given ThreadFactory and the given SelectorProvider.
      Parameters:
      nThreads -
      threadFactory -
      selectorProvider -
    • ShutdownableNioEventLoopGroup

      public ShutdownableNioEventLoopGroup(int nThreads, ThreadFactory threadFactory, SelectorProvider selectorProvider, io.netty.channel.SelectStrategyFactory selectStrategyFactory)
    • ShutdownableNioEventLoopGroup

      public ShutdownableNioEventLoopGroup(int nThreads, Executor executor, SelectorProvider selectorProvider)
    • ShutdownableNioEventLoopGroup

      public ShutdownableNioEventLoopGroup(int nThreads, Executor executor, SelectorProvider selectorProvider, io.netty.channel.SelectStrategyFactory selectStrategyFactory)
    • ShutdownableNioEventLoopGroup

      public ShutdownableNioEventLoopGroup(int nThreads, Executor executor, io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory, SelectorProvider selectorProvider, io.netty.channel.SelectStrategyFactory selectStrategyFactory)
    • ShutdownableNioEventLoopGroup

      public ShutdownableNioEventLoopGroup(int nThreads, Executor executor, io.netty.util.concurrent.EventExecutorChooserFactory chooserFactory, SelectorProvider selectorProvider, io.netty.channel.SelectStrategyFactory selectStrategyFactory, io.netty.util.concurrent.RejectedExecutionHandler rejectedExecutionHandler)
  • Method Details