Enum Class CommitStatus

java.lang.Object
java.lang.Enum<CommitStatus>
com.aerospike.client.CommitStatus
All Implemented Interfaces:
Serializable, Comparable<CommitStatus>, Constable

public enum CommitStatus extends Enum<CommitStatus>
Multi-record transaction (MRT) commit status code.
  • Enum Constant Details

    • OK

      public static final CommitStatus OK
    • ALREADY_COMMITTED

      public static final CommitStatus ALREADY_COMMITTED
    • ALREADY_ABORTED

      public static final CommitStatus ALREADY_ABORTED
    • ROLL_FORWARD_ABANDONED

      public static final CommitStatus ROLL_FORWARD_ABANDONED
    • CLOSE_ABANDONED

      public static final CommitStatus CLOSE_ABANDONED
  • Field Details

    • str

      public final String str
  • Method Details

    • values

      public static CommitStatus[] 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 CommitStatus 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