Enum Class CommitError

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

public enum CommitError extends Enum<CommitError>
Multi-record transaction (MRT) error status.
  • Enum Constant Details

    • VERIFY_FAIL

      public static final CommitError VERIFY_FAIL
    • VERIFY_FAIL_CLOSE_ABANDONED

      public static final CommitError VERIFY_FAIL_CLOSE_ABANDONED
    • VERIFY_FAIL_ABORT_ABANDONED

      public static final CommitError VERIFY_FAIL_ABORT_ABANDONED
    • MARK_ROLL_FORWARD_ABANDONED

      public static final CommitError MARK_ROLL_FORWARD_ABANDONED
  • Field Details

    • str

      public final String str
  • Method Details

    • values

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