public static enum ReadOnlyTStore.TStatus extends Enum<ReadOnlyTStore.TStatus>
Enum Constant and Description |
---|
FAILED
Transaction has failed and has been fully rolled back
|
FAILED_IN_PROGRESS
Transaction has failed, and is in the process of being rolled back
|
IN_PROGRESS
Transaction is eligible to be executing
|
NEW
Unseeded transaction
|
SUCCESSFUL
Transaction has succeeded
|
UNKNOWN
Unrecognized or unknown transaction state
|
Modifier and Type | Method and Description |
---|---|
static ReadOnlyTStore.TStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReadOnlyTStore.TStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReadOnlyTStore.TStatus NEW
public static final ReadOnlyTStore.TStatus IN_PROGRESS
public static final ReadOnlyTStore.TStatus FAILED_IN_PROGRESS
public static final ReadOnlyTStore.TStatus FAILED
public static final ReadOnlyTStore.TStatus SUCCESSFUL
public static final ReadOnlyTStore.TStatus UNKNOWN
public static ReadOnlyTStore.TStatus[] values()
for (ReadOnlyTStore.TStatus c : ReadOnlyTStore.TStatus.values()) System.out.println(c);
public static ReadOnlyTStore.TStatus 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 © 2011–2019 The Apache Software Foundation. All rights reserved.