public enum IgnitePortProtocol extends Enum<IgnitePortProtocol>
Enum Constant and Description |
---|
TCP
TCP protocol.
|
UDP
UDP protocol.
|
Modifier and Type | Method and Description |
---|---|
static @Nullable IgnitePortProtocol |
fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static IgnitePortProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static IgnitePortProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final IgnitePortProtocol TCP
public static final IgnitePortProtocol UDP
public static IgnitePortProtocol[] values()
for (IgnitePortProtocol c : IgnitePortProtocol.values()) System.out.println(c);
public static IgnitePortProtocol 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 null@Nullable public static @Nullable IgnitePortProtocol fromOrdinal(byte ord)
ord
- Ordinal value.
Follow @ApacheIgnite
Ignite Database and Caching Platform : ver. 2.16.0 Release Date : December 15 2023