public enum StateServerResult extends java.lang.Enum<StateServerResult>
| Enum Constant and Description |
|---|
ObjectAlreadyLocked
Indicates that the operation failed: the requested object was already
locked by some other StateServer client.
|
ObjectNotFound
Indicates that the operation failed: the StateServer was unable to find
the requested object.
|
ObjectReading
Indicates that read-through for this object is in progress on other host
|
Success
Indicates that the StateServer operation succeeded.
|
| Modifier and Type | Method and Description |
|---|---|
static StateServerResult |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static StateServerResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateServerResult Success
public static final StateServerResult ObjectNotFound
public static final StateServerResult ObjectAlreadyLocked
public static final StateServerResult ObjectReading
public static StateServerResult[] values()
for (StateServerResult c : StateServerResult.values()) System.out.println(c);
public static StateServerResult 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