Enum Class JeBackendCfgDefn.DbDurability

java.lang.Object
java.lang.Enum<JeBackendCfgDefn.DbDurability>
org.forgerock.opendj.server.config.meta.JeBackendCfgDefn.DbDurability
All Implemented Interfaces:
Serializable, Comparable<JeBackendCfgDefn.DbDurability>, java.lang.constant.Constable
Enclosing class:
JeBackendCfgDefn

public static enum JeBackendCfgDefn.DbDurability extends Enum<JeBackendCfgDefn.DbDurability>
Defines the set of permissible values for the "db-durability" property.

Configures the durability level that will be used when committing a transaction.

High levels of durability offer a greater guarantee that the transaction is persisted to disk, but trade that off for lower performance.

  • Enum Constant Details

    • HIGH

      public static final JeBackendCfgDefn.DbDurability HIGH
      Write and synchronously flush the log on transaction commit. Transactions exhibit full durability and will not be lost if the application or operating system fails.
    • LOW

      public static final JeBackendCfgDefn.DbDurability LOW
      Do not write or synchronously flush the log on transaction commit. Database integrity will be maintained, but if the application or system fails, it is possible some number of the most recently committed transactions may be undone (lost) during recovery.
    • MEDIUM

      public static final JeBackendCfgDefn.DbDurability MEDIUM
      Write but do not synchronously flush the log on transaction commit. Database integrity will be maintained, but if the operating system fails, it is possible some number of the most recently committed transactions may be undone (lost) during recovery.
  • Method Details

    • values

      public static JeBackendCfgDefn.DbDurability[] 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 JeBackendCfgDefn.DbDurability 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
    • toString

      public String toString()
      Overrides:
      toString in class Enum<JeBackendCfgDefn.DbDurability>