public enum GridPortProtocol extends Enum<GridPortProtocol>
| Enum Constant and Description |
|---|
TCP
TCP protocol.
|
UDP
UDP protocol.
|
| Modifier and Type | Method and Description |
|---|---|
static GridPortProtocol |
fromOrdinal(byte ord)
Efficiently gets enumerated value from its ordinal.
|
static GridPortProtocol |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridPortProtocol[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridPortProtocol TCP
public static final GridPortProtocol UDP
public static GridPortProtocol[] values()
for (GridPortProtocol c : GridPortProtocol.values()) System.out.println(c);
public static GridPortProtocol 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 GridPortProtocol fromOrdinal(byte ord)
ord - Ordinal value.
Core Products
:
Data Grid ver. 6.0.2,
Streaming ver. 6.0.2
Accelerators
:
Hadoop Accelerator ver. 6.0.2
Release Date
:
March 24 2014