Package oracle.tmm.tcc
Enum Class TccTransactionStatus
- All Implemented Interfaces:
Serializable
,Comparable<TccTransactionStatus>
,Constable
TCC transaction status
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionTCC Transaction in Active StateTCC Transaction is cancelledTCC Transaction in process of cancelling the TransactionTCC Transaction is confirmedTCC Transaction in process of confirming the TransactionTCC Transaction is failed to cancelTCC Transaction is failed to confirmTCC Transaction ended in Heuristic state -
Method Summary
Modifier and TypeMethodDescriptiongetValue()
static TccTransactionStatus
Returns the enum constant of this class with the specified name.static TccTransactionStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
Active
TCC Transaction in Active State -
Confirming
TCC Transaction in process of confirming the Transaction -
Confirmed
TCC Transaction is confirmed -
FailedToConfirm
TCC Transaction is failed to confirm -
Cancelling
TCC Transaction in process of cancelling the Transaction -
Cancelled
TCC Transaction is cancelled -
FailedToCancel
TCC Transaction is failed to cancel -
Heuristic
TCC Transaction ended in Heuristic state
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
getValue
-