Interface EventLoopGroupRegistry

All Known Implementing Classes:
DefaultEventLoopGroupRegistry

public interface EventLoopGroupRegistry
Registry of configured event loops.
Since:
2.0
Author:
graemerocher
  • Method Details

    • getEventLoopGroup

      Optional<io.netty.channel.EventLoopGroup> getEventLoopGroup(@NonNull @NonNull 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 @NonNull io.netty.channel.EventLoopGroup getDefaultEventLoopGroup()
      Returns:
      Obtains the default event loop group.
    • getEventLoopGroupConfiguration

      Optional<EventLoopGroupConfiguration> getEventLoopGroupConfiguration(@NonNull @NonNull 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