Package com.iizix.txp
Enum Class ITXPNode.State
- All Implemented Interfaces:
- Serializable,- Comparable<ITXPNode.State>,- Constable
- Enclosing interface:
- ITXPNode
State enum for a 
ITXPNode.- Author:
- Freggle
- Nested Class Summary- Nested classes/interfaces inherited from class java.lang.Enum- Enum.EnumDesc<E extends Enum<E>>
- Enum Constant SummaryEnum ConstantsEnum ConstantDescriptionCompleted either commit or rollback.Operation failed.No or initial stateOperation succeeded.Operation succeeded but the node can be ignored in the transaction as the work was read only.Timeout waiting for the transaction to advance.Unable to perform the request.Ready to do transactional work.
- Method SummaryModifier and TypeMethodDescription- static ITXPNode.StateReturns the enum constant of this class with the specified name.- static ITXPNode.State[]- values()Returns an array containing the constants of this enum class, in the order they are declared.
- Enum Constant Details- NONENo or initial state
- WORKINGReady to do transactional work.
- OKOperation succeeded.
- FAILEDOperation failed.
- READ_ONLYOperation succeeded but the node can be ignored in the transaction as the work was read only.
- TIMED_OUTTimeout waiting for the transaction to advance.
- UNABLEUnable to perform the request.
- COMPLETEDCompleted either commit or rollback.
 
- Method Details- valuesReturns 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
 
- valueOfReturns 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 name
- NullPointerException- if the argument is null