public static enum TransportHelper.TransportMethod extends Enum<TransportHelper.TransportMethod>
| Modifier and Type | Method and Description |
|---|---|
static TransportHelper.TransportMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TransportHelper.TransportMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransportHelper.TransportMethod NIO
public static final TransportHelper.TransportMethod EPOLL
public static final TransportHelper.TransportMethod KQUEUE
public static final TransportHelper.TransportMethod IO_URING
public static TransportHelper.TransportMethod[] values()
for (TransportHelper.TransportMethod c : TransportHelper.TransportMethod.values()) System.out.println(c);
public static TransportHelper.TransportMethod 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 nullCopyright © 2022. All rights reserved.