public static enum Log.State extends Enum<Log.State>
State is the state of datastore operation.| Enum Constant and Description |
|---|
COMMITTED
Log is committed.
|
NONE
None of the state.
|
PREPARED
Log is prepared to commit.
|
UNCOMMITTED
Log is uncommitted.
|
| Modifier and Type | Method and Description |
|---|---|
static Log.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Log.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Log.State NONE
public static final Log.State UNCOMMITTED
public static final Log.State PREPARED
public static final Log.State COMMITTED
public static Log.State[] values()
for (Log.State c : Log.State.values()) System.out.println(c);
public static Log.State 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 © 2009-2014 Eiichiro Uchiumi. All Rights Reserved.