Class SlowAwareDefaultEventLoopGroup

java.lang.Object
io.netty.util.concurrent.AbstractEventExecutorGroup
io.netty.util.concurrent.MultithreadEventExecutorGroup
io.netty.channel.MultithreadEventLoopGroup
io.netty.channel.DefaultEventLoopGroup
org.drasyl.util.SlowAwareDefaultEventLoopGroup
All Implemented Interfaces:
io.netty.channel.EventLoopGroup, io.netty.util.concurrent.EventExecutorGroup, Iterable<io.netty.util.concurrent.EventExecutor>, Executor, ExecutorService, ScheduledExecutorService

@UnstableApi public class SlowAwareDefaultEventLoopGroup extends io.netty.channel.DefaultEventLoopGroup
A DefaultEventLoopGroup that is aware of slow task executions.
  • Constructor Details

    • SlowAwareDefaultEventLoopGroup

      public SlowAwareDefaultEventLoopGroup()
    • SlowAwareDefaultEventLoopGroup

      public SlowAwareDefaultEventLoopGroup(int nThreads)
    • SlowAwareDefaultEventLoopGroup

      public SlowAwareDefaultEventLoopGroup(ThreadFactory threadFactory)
    • SlowAwareDefaultEventLoopGroup

      public SlowAwareDefaultEventLoopGroup(int nThreads, ThreadFactory threadFactory)
    • SlowAwareDefaultEventLoopGroup

      public SlowAwareDefaultEventLoopGroup(int nThreads, Executor executor)
  • Method Details

    • newChild

      protected io.netty.channel.EventLoop newChild(Executor executor, Object... args) throws Exception
      Overrides:
      newChild in class io.netty.channel.DefaultEventLoopGroup
      Throws:
      Exception