Module lmdbjava
Package org.lmdbjava

Enum Class Txn.State

java.lang.Object
java.lang.Enum<Txn.State>
org.lmdbjava.Txn.State
All Implemented Interfaces:
Serializable, Comparable<Txn.State>, Constable
Enclosing class:
Txn<T>

public static enum Txn.State extends Enum<Txn.State>
Transaction states.
  • Enum Constant Details

    • READY

      public static final Txn.State READY
    • DONE

      public static final Txn.State DONE
    • RESET

      public static final Txn.State RESET
    • RELEASED

      public static final Txn.State RELEASED
  • Method Details

    • values

      public static Txn.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 Txn.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