public static enum FilterParams.RowLockOptions extends Enum<FilterParams.RowLockOptions>
| Enum Constant and Description |
|---|
NOWAIT
Do not wait to acquire row lock, fail with an error if a requested row is locked.
|
SKIP_LOCKED
Do not wait to acquire a row lock, remove locked rows from the result set.
|
| Modifier and Type | Field and Description |
|---|---|
private int |
rowLockOption |
| Modifier and Type | Method and Description |
|---|---|
int |
asNumber()
Get the row lock option id.
|
static FilterParams.RowLockOptions |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FilterParams.RowLockOptions[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterParams.RowLockOptions NOWAIT
public static final FilterParams.RowLockOptions SKIP_LOCKED
public static FilterParams.RowLockOptions[] values()
for (FilterParams.RowLockOptions c : FilterParams.RowLockOptions.values()) System.out.println(c);
public static FilterParams.RowLockOptions 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 int asNumber()