Package io.micronaut.http.netty.channel
Interface EventLoopGroupRegistry
- All Known Implementing Classes:
DefaultEventLoopGroupRegistry
public interface EventLoopGroupRegistry
Registry of configured event loops.
- Since:
- 2.0
- Author:
- graemerocher
-
Method Summary
Modifier and TypeMethodDescription@NonNull io.netty.channel.EventLoopGroup
Optional<io.netty.channel.EventLoopGroup>
getEventLoopGroup
(@NonNull String name) Obtain a configured Event Loop Group from the registry.Obtain a configured Event Loop Group from the registry.
-
Method Details
-
getEventLoopGroup
Obtain a configured Event Loop Group from the registry.- Parameters:
name
- The name of the group- Returns:
- The event loop group if configured
-
getDefaultEventLoopGroup
- Returns:
- Obtains the default event loop group.
-
getEventLoopGroupConfiguration
Obtain a configured Event Loop Group from the registry.- Parameters:
name
- The name of the group- Returns:
- The event loop group if configured
-