public final class EventLoopGroupConfiguration extends Object implements ToCopyableBuilder<EventLoopGroupConfiguration.Builder,EventLoopGroupConfiguration>
EventLoopGroup. Either an already constructed EventLoopGroup
or an EventLoopGroupFactory may be provided, but not both.| Modifier and Type | Class and Description |
|---|---|
static interface |
EventLoopGroupConfiguration.Builder
A builder for
EventLoopGroupConfiguration. |
| Modifier and Type | Method and Description |
|---|---|
static EventLoopGroupConfiguration.Builder |
builder() |
Optional<io.netty.channel.EventLoopGroup> |
eventLoopGroup() |
Optional<EventLoopGroupFactory> |
eventLoopGroupFactory() |
EventLoopGroupConfiguration.Builder |
toBuilder() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcopypublic Optional<io.netty.channel.EventLoopGroup> eventLoopGroup()
EventLoopGroup or an empty Optional if not present.public Optional<EventLoopGroupFactory> eventLoopGroupFactory()
EventLoopGroupFactory or an empty Optional if not present.public EventLoopGroupConfiguration.Builder toBuilder()
toBuilder in interface ToCopyableBuilder<EventLoopGroupConfiguration.Builder,EventLoopGroupConfiguration>public static EventLoopGroupConfiguration.Builder builder()
EventLoopGroupConfiguration.Copyright © 2017. All rights reserved.