public enum PrimitiveState extends Enum<PrimitiveState>
| Enum Constant and Description |
|---|
CLOSED
Signifies a state wherein the primitive has been shutdown and therefore cannot perform its functions.
|
CONNECTED
Signifies a state wherein the primitive is operating correctly and is capable of meeting the advertised
consistency and reliability guarantees.
|
SUSPENDED
Signifies a state wherein the primitive is temporarily incapable of providing the advertised
consistency properties.
|
| Modifier and Type | Method and Description |
|---|---|
static PrimitiveState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PrimitiveState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PrimitiveState CONNECTED
public static final PrimitiveState SUSPENDED
public static final PrimitiveState CLOSED
public static PrimitiveState[] values()
for (PrimitiveState c : PrimitiveState.values()) System.out.println(c);
public static PrimitiveState 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 © 2013–2018. All rights reserved.