public static enum PaxosState.MaybePromise.Outcome extends java.lang.Enum<PaxosState.MaybePromise.Outcome>
Enum Constant and Description |
---|
PERMIT_READ |
PROMISE |
REJECT |
Modifier and Type | Method and Description |
---|---|
static PaxosState.MaybePromise.Outcome |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaxosState.MaybePromise.Outcome[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaxosState.MaybePromise.Outcome REJECT
public static final PaxosState.MaybePromise.Outcome PERMIT_READ
public static final PaxosState.MaybePromise.Outcome PROMISE
public static PaxosState.MaybePromise.Outcome[] values()
for (PaxosState.MaybePromise.Outcome c : PaxosState.MaybePromise.Outcome.values()) System.out.println(c);
public static PaxosState.MaybePromise.Outcome 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 nullCopyright © 2009- The Apache Software Foundation