Class NonRecursiveEventLoopGroup

java.lang.Object
org.infinispan.server.core.utils.DelegatingEventLoopGroup
org.infinispan.server.core.transport.NonRecursiveEventLoopGroup
All Implemented Interfaces:
io.netty.channel.EventLoopGroup, io.netty.util.concurrent.EventExecutorGroup, Iterable<io.netty.util.concurrent.EventExecutor>, Executor, ExecutorService, ScheduledExecutorService

public class NonRecursiveEventLoopGroup extends DelegatingEventLoopGroup
This event loop group prevents any tasks submitted via the Executor.execute(Runnable)}, ExecutorService.submit(Runnable), ExecutorService.submit(Callable), ExecutorService.submit(Runnable, Object) API methods from being ran on the same event loop that submitted it. This is to prevent issues where some operations block on the result of another task (e.g. Cache creation).