Class DefaultEventLoopGroupFactory

java.lang.Object
io.micronaut.http.netty.channel.DefaultEventLoopGroupFactory
All Implemented Interfaces:
EventLoopGroupFactory

@Primary @Singleton public class DefaultEventLoopGroupFactory extends Object implements EventLoopGroupFactory
The default factory for EventLoopGroup instances.
Since:
1.0
  • Constructor Details

    • DefaultEventLoopGroupFactory

      public DefaultEventLoopGroupFactory(NioEventLoopGroupFactory nioEventLoopGroupFactory, @Nullable @Named("native") @Nullable EventLoopGroupFactory nativeFactory)
      Default constructor.
      Parameters:
      nioEventLoopGroupFactory - The NIO factory
      nativeFactory - The native factory if available
    • DefaultEventLoopGroupFactory

      @Inject public DefaultEventLoopGroupFactory(NioEventLoopGroupFactory nioEventLoopGroupFactory, @Nullable @Named("native") @Nullable EventLoopGroupFactory nativeFactory, @Nullable @Nullable NettyGlobalConfiguration nettyGlobalConfiguration)
      Default constructor.
      Parameters:
      nioEventLoopGroupFactory - The NIO factory
      nativeFactory - The native factory if available
      nettyGlobalConfiguration - The netty global configuration
  • Method Details