Enum WriteableTransaction.WriteTransactionOption
- java.lang.Object
-
- java.lang.Enum<WriteableTransaction.WriteTransactionOption>
-
- org.opends.server.backends.pluggable.spi.WriteableTransaction.WriteTransactionOption
-
- All Implemented Interfaces:
Serializable
,Comparable<WriteableTransaction.WriteTransactionOption>
- Enclosing interface:
- WriteableTransaction
public static enum WriteableTransaction.WriteTransactionOption extends Enum<WriteableTransaction.WriteTransactionOption>
Options applicable to aWriteableTransaction
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description RELAX_DURABILITY
Hint that the Storage engine can relax the Durability (from ACID) for a specific transaction in the hope of achieving better performance.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static WriteableTransaction.WriteTransactionOption
valueOf(String name)
Returns the enum constant of this type with the specified name.static WriteableTransaction.WriteTransactionOption[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RELAX_DURABILITY
public static final WriteableTransaction.WriteTransactionOption RELAX_DURABILITY
Hint that the Storage engine can relax the Durability (from ACID) for a specific transaction in the hope of achieving better performance. Note that there is no guarantee that this hint is effectively applied. The underlying transaction and/or storage implementation might not provide such facility.
-
-
Method Detail
-
values
public static WriteableTransaction.WriteTransactionOption[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (WriteableTransaction.WriteTransactionOption c : WriteableTransaction.WriteTransactionOption.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static WriteableTransaction.WriteTransactionOption valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-