@API(value=MAINTAINED) public enum FDBTransactionPriority extends Enum<FDBTransactionPriority>
This API is MAINTAINED
, but it may add additional values if they become available.
Enum Constant and Description |
---|
BATCH
The priority level that should be used for batch operations.
|
DEFAULT
The default priority level for most transactions.
|
SYSTEM_IMMEDIATE
The priority level for system operations.
|
Modifier and Type | Method and Description |
---|---|
static FDBTransactionPriority |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FDBTransactionPriority[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FDBTransactionPriority BATCH
public static final FDBTransactionPriority DEFAULT
BATCH
priority is more appropriate. The system will apply normal rate limiting and throttling mechanisms to
the transaction.public static final FDBTransactionPriority SYSTEM_IMMEDIATE
public static FDBTransactionPriority[] values()
for (FDBTransactionPriority c : FDBTransactionPriority.values()) System.out.println(c);
public static FDBTransactionPriority 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 null