public static enum DistributedPrimitive.Status extends java.lang.Enum<DistributedPrimitive.Status>
Enum Constant and Description |
---|
ACTIVE
Signifies a state wherein the primitive is operating correctly and is capable of meeting the advertised
consistency and reliability guarantees.
|
INACTIVE
Signifies a state wherein the primitive has been shutdown and therefore cannot perform its functions.
|
SUSPENDED
Signifies a state wherein the primitive is temporarily incapable of providing the advertised
consistency properties.
|
Modifier and Type | Method and Description |
---|---|
static DistributedPrimitive.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static DistributedPrimitive.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DistributedPrimitive.Status ACTIVE
public static final DistributedPrimitive.Status SUSPENDED
public static final DistributedPrimitive.Status INACTIVE
public static DistributedPrimitive.Status[] values()
for (DistributedPrimitive.Status c : DistributedPrimitive.Status.values()) System.out.println(c);
public static DistributedPrimitive.Status valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null