Package com.iizix.txp

Enum Class ITXPNode.State

java.lang.Object
java.lang.Enum<ITXPNode.State>
com.iizix.txp.ITXPNode.State
All Implemented Interfaces:
Serializable, Comparable<ITXPNode.State>, Constable
Enclosing interface:
ITXPNode

public static enum ITXPNode.State extends Enum<ITXPNode.State>
State enum for a ITXPNode.
Author:
Freggle
  • Enum Constant Details

    • NONE

      public static final ITXPNode.State NONE
      No or initial state
    • WORKING

      public static final ITXPNode.State WORKING
      Ready to do transactional work.
    • OK

      public static final ITXPNode.State OK
      Operation succeeded.
    • FAILED

      public static final ITXPNode.State FAILED
      Operation failed.
    • READ_ONLY

      public static final ITXPNode.State READ_ONLY
      Operation succeeded but the node can be ignored in the transaction as the work was read only.
    • TIMED_OUT

      public static final ITXPNode.State TIMED_OUT
      Timeout waiting for the transaction to advance.
    • UNABLE

      public static final ITXPNode.State UNABLE
      Unable to perform the request.
    • COMPLETED

      public static final ITXPNode.State COMPLETED
      Completed either commit or rollback.
  • Method Details

    • values

      public static ITXPNode.State[] 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

      public static ITXPNode.State valueOf(String name)
      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 name
      NullPointerException - if the argument is null