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
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.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptiontoString()
Returns the enum constant of this class with the specified name.static JeBackendCfgDefn.DbDurability[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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
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
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
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
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 nameNullPointerException
- if the argument is null
-
toString
- Overrides:
toString
in classEnum<JeBackendCfgDefn.DbDurability>
-