Package org.drasyl.util
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 Summary
ConstructorDescriptionSlowAwareDefaultEventLoopGroup
(int nThreads) SlowAwareDefaultEventLoopGroup
(int nThreads, Executor executor) SlowAwareDefaultEventLoopGroup
(int nThreads, ThreadFactory threadFactory) SlowAwareDefaultEventLoopGroup
(ThreadFactory threadFactory) -
Method Summary
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 Details
-
SlowAwareDefaultEventLoopGroup
public SlowAwareDefaultEventLoopGroup() -
SlowAwareDefaultEventLoopGroup
public SlowAwareDefaultEventLoopGroup(int nThreads) -
SlowAwareDefaultEventLoopGroup
-
SlowAwareDefaultEventLoopGroup
-
SlowAwareDefaultEventLoopGroup
-
-
Method Details
-
newChild
- Overrides:
newChild
in classio.netty.channel.DefaultEventLoopGroup
- Throws:
Exception
-