Class EventLoopSupplierBuildItem


  • public final class EventLoopSupplierBuildItem
    extends io.quarkus.builder.item.SimpleBuildItem
    Register EventLoopGroup suppliers to be used to produce main EventLoopGroup and boss EventLoopGroup annotated beans. If not provided, both will be created from a default supplier. See EventLoopGroupBuildItem for actual supplier instances
    • Constructor Detail

      • EventLoopSupplierBuildItem

        public EventLoopSupplierBuildItem​(Supplier<io.netty.channel.EventLoopGroup> mainSupplier,
                                          Supplier<io.netty.channel.EventLoopGroup> bossSupplier)
    • Method Detail

      • getMainSupplier

        public Supplier<io.netty.channel.EventLoopGroup> getMainSupplier()
      • getBossSupplier

        public Supplier<io.netty.channel.EventLoopGroup> getBossSupplier()