public enum ChannelImplementation extends Enum<ChannelImplementation>
Modifier and Type | Class and Description |
---|---|
static interface |
ChannelImplementation.EventLoopGroupGenerator
A functional interface for generating event loops.
|
Enum Constant and Description |
---|
AUTO
Automatically select best channel type (EPOLL/KQUEUE if available, otherwise
fallback to NIO).
|
EPOLL |
KQUEUE |
LOCAL |
NIO |
Modifier and Type | Method and Description |
---|---|
static ChannelImplementation |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelImplementation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelImplementation AUTO
public static final ChannelImplementation NIO
public static final ChannelImplementation EPOLL
public static final ChannelImplementation KQUEUE
public static final ChannelImplementation LOCAL
public static ChannelImplementation[] values()
for (ChannelImplementation c : ChannelImplementation.values()) System.out.println(c);
public static ChannelImplementation 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 © 2019 CorfuDB. All rights reserved.