Interface EventLoopGroupRegistry

  • All Known Implementing Classes:
    DefaultEventLoopGroupRegistry

    public interface EventLoopGroupRegistry
    Registry of configured event loops.
    Since:
    2.0
    • Method Detail

      • getEventLoopGroup

        java.util.Optional<io.netty.channel.EventLoopGroup> getEventLoopGroup​(@NonNull
                                                                              java.lang.String name)
        Obtain a configured Event Loop Group from the registry.
        Parameters:
        name - The name of the group
        Returns:
        The event loop group if configured
      • getDefaultEventLoopGroup

        @NonNull
        io.netty.channel.EventLoopGroup getDefaultEventLoopGroup()
        Returns:
        Obtains the default event loop group.
      • getEventLoopGroupConfiguration

        java.util.Optional<EventLoopGroupConfiguration> getEventLoopGroupConfiguration​(@NonNull
                                                                                       java.lang.String name)
        Obtain a configured Event Loop Group from the registry.
        Parameters:
        name - The name of the group
        Returns:
        The event loop group if configured