public enum PacketConsumeState extends Enum<PacketConsumeState>
Enum Constant and Description |
---|
CAN_CONSUME |
CONSUMED |
PENDING |
Modifier and Type | Method and Description |
---|---|
static PacketConsumeState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PacketConsumeState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PacketConsumeState PENDING
public static final PacketConsumeState CAN_CONSUME
public static final PacketConsumeState CONSUMED
public static PacketConsumeState[] values()
for (PacketConsumeState c : PacketConsumeState.values()) System.out.println(c);
public static PacketConsumeState 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 © GigaSpaces.