Package org.apache.accumulo.core.fate
Enum ReadOnlyTStore.TStatus
- java.lang.Object
-
- java.lang.Enum<ReadOnlyTStore.TStatus>
-
- org.apache.accumulo.core.fate.ReadOnlyTStore.TStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<ReadOnlyTStore.TStatus>
- Enclosing interface:
- ReadOnlyTStore<T>
public static enum ReadOnlyTStore.TStatus extends Enum<ReadOnlyTStore.TStatus>
Possible operational status codes. Serialized by name within stores.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FAILED
Transaction has failed and has been fully rolled backFAILED_IN_PROGRESS
Transaction has failed, and is in the process of being rolled backIN_PROGRESS
Transaction that is executingNEW
Unseeded transactionSUBMITTED
Transaction that is eligible to be executedSUCCESSFUL
Transaction has succeededUNKNOWN
Unrecognized or unknown transaction state
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
NEW
public static final ReadOnlyTStore.TStatus NEW
Unseeded transaction
-
IN_PROGRESS
public static final ReadOnlyTStore.TStatus IN_PROGRESS
Transaction that is executing
-
FAILED_IN_PROGRESS
public static final ReadOnlyTStore.TStatus FAILED_IN_PROGRESS
Transaction has failed, and is in the process of being rolled back
-
FAILED
public static final ReadOnlyTStore.TStatus FAILED
Transaction has failed and has been fully rolled back
-
SUCCESSFUL
public static final ReadOnlyTStore.TStatus SUCCESSFUL
Transaction has succeeded
-
UNKNOWN
public static final ReadOnlyTStore.TStatus UNKNOWN
Unrecognized or unknown transaction state
-
SUBMITTED
public static final ReadOnlyTStore.TStatus SUBMITTED
Transaction that is eligible to be executed
-
-
Method Detail
-
values
public static ReadOnlyTStore.TStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ReadOnlyTStore.TStatus c : ReadOnlyTStore.TStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ReadOnlyTStore.TStatus valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-