public enum ChannelUtils extends Enum<ChannelUtils>
| Modifier and Type | Method and Description |
|---|---|
static Class<? extends io.netty.channel.Channel> |
channelForEventLoopGroup(io.netty.channel.EventLoopGroup group)
Helper method to detect the right channel for the given event loop group.
|
static ChannelUtils |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelUtils[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static ChannelUtils[] values()
for (ChannelUtils c : ChannelUtils.values()) System.out.println(c);
public static ChannelUtils valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Class<? extends io.netty.channel.Channel> channelForEventLoopGroup(io.netty.channel.EventLoopGroup group)
Supports Epoll, KQueue, Nio and Oio.
group - the event loop group passed in.Copyright © 2021 Couchbase, Inc.. All rights reserved.