public static enum JeBackendCfgDefn.DbDurability extends Enum<JeBackendCfgDefn.DbDurability>
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 and Description |
---|
HIGH
Write and synchronously flush the log on transaction commit.
|
LOW
Do not write or synchronously flush the log on transaction
commit.
|
MEDIUM
Write but do not synchronously flush the log on transaction
commit.
|
Modifier and Type | Method and Description |
---|---|
String |
toString() |
static JeBackendCfgDefn.DbDurability |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static JeBackendCfgDefn.DbDurability[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final JeBackendCfgDefn.DbDurability HIGH
public static final JeBackendCfgDefn.DbDurability LOW
public static final JeBackendCfgDefn.DbDurability MEDIUM
public static JeBackendCfgDefn.DbDurability[] values()
for (JeBackendCfgDefn.DbDurability c : JeBackendCfgDefn.DbDurability.values()) System.out.println(c);
public static JeBackendCfgDefn.DbDurability valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic String toString()
toString
in class Enum<JeBackendCfgDefn.DbDurability>
Copyright 2010-2018 ForgeRock AS.