public static enum BleTransaction.Atomicity extends java.lang.Enum<BleTransaction.Atomicity>
Enum Constant and Description |
---|
DEVICE_ATOMIC
The transaction will block other transactionable tasks from running on the same device until it finishes
|
NOT_ATOMIC
The transaction is not atomic (it will not block any other tasks from running)
|
QUEUE_ATOMIC
The transaction will block the entire queue from running other tasks until it finishes
|
Modifier and Type | Method and Description |
---|---|
static BleTransaction.Atomicity |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BleTransaction.Atomicity[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BleTransaction.Atomicity NOT_ATOMIC
public static final BleTransaction.Atomicity DEVICE_ATOMIC
public static final BleTransaction.Atomicity QUEUE_ATOMIC
public static BleTransaction.Atomicity[] values()
for (BleTransaction.Atomicity c : BleTransaction.Atomicity.values()) System.out.println(c);
public static BleTransaction.Atomicity valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null