NIOThreadPool
A thread pool that should be used if some (kernel thread) blocking work needs to be performed for which no non-blocking API exists.
final class NIOThreadPool
When using NIO it is crucial not to block any of the EventLoop
s as that leads to slow downs or stalls of arbitrary other work. Unfortunately though there are tasks that applications need to achieve for which no non-blocking APIs exist. In those cases NIOThreadPool
can be used but should be treated as a last resort.