public interface EventLoopGroupRegistry
Modifier and Type | Method and Description |
---|---|
io.netty.channel.EventLoopGroup |
getDefaultEventLoopGroup() |
java.util.Optional<io.netty.channel.EventLoopGroup> |
getEventLoopGroup(java.lang.String name)
Obtain a configured Event Loop Group from the registry.
|
java.util.Optional<EventLoopGroupConfiguration> |
getEventLoopGroupConfiguration(java.lang.String name)
Obtain a configured Event Loop Group from the registry.
|
java.util.Optional<io.netty.channel.EventLoopGroup> getEventLoopGroup(@NonNull java.lang.String name)
name
- The name of the group@NonNull io.netty.channel.EventLoopGroup getDefaultEventLoopGroup()
java.util.Optional<EventLoopGroupConfiguration> getEventLoopGroupConfiguration(@NonNull java.lang.String name)
name
- The name of the group