public enum TCPChannelType extends java.lang.Enum<TCPChannelType> implements ChannelType
| Enum Constant and Description |
|---|
EPOLL |
EPOLL_DOMAIN_SOCKET |
IO_URING |
IO_URING_DOMAIN_SOCKET |
KQUEUE |
KQUEUE_DOMAIN_SOCKET |
LOCAL |
NIO |
| Modifier and Type | Method and Description |
|---|---|
static TCPChannelType |
getBest() |
static TCPChannelType |
getBest(boolean domainSocket) |
static TCPChannelType |
getBest(java.net.SocketAddress address) |
static TCPChannelType |
getBest(TCPChannelType... channelTypes) |
static TCPChannelType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TCPChannelType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOfioHandlerFactorySupplierpublic static final TCPChannelType NIO
public static final TCPChannelType EPOLL
public static final TCPChannelType EPOLL_DOMAIN_SOCKET
public static final TCPChannelType KQUEUE
public static final TCPChannelType KQUEUE_DOMAIN_SOCKET
public static final TCPChannelType IO_URING
public static final TCPChannelType IO_URING_DOMAIN_SOCKET
public static final TCPChannelType LOCAL
public static TCPChannelType[] values()
for (TCPChannelType c : TCPChannelType.values()) System.out.println(c);
public static TCPChannelType valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic static TCPChannelType getBest()
public static TCPChannelType getBest(java.net.SocketAddress address)
public static TCPChannelType getBest(boolean domainSocket)
public static TCPChannelType getBest(TCPChannelType... channelTypes)