Class NettyThreadFactory.EventLoopCustomizableThreadFactory

java.lang.Object
io.micronaut.http.netty.channel.NettyThreadFactory.EventLoopCustomizableThreadFactory
All Implemented Interfaces:
ThreadFactory
Enclosing class:
NettyThreadFactory

@Internal public static final class NettyThreadFactory.EventLoopCustomizableThreadFactory extends Object implements ThreadFactory
We only create one ThreadFactory singleton, but in order to get different names for different event loops, we need one DefaultThreadFactory for each event loop. When the event loop factory sees this class, it uses it as a template to create an individual ThreadFactory for each event loop group.
  • Constructor Details

    • EventLoopCustomizableThreadFactory

      public EventLoopCustomizableThreadFactory(boolean daemon, int priority, boolean nonBlocking)
  • Method Details