public static enum FilterParams.RowLock extends Enum<FilterParams.RowLock>
| Enum Constant | Description |
|---|---|
EXCLUSIVE_LOCK |
Lock matching rows so no other transactions can read or write to it.
|
SHARED_LOCK |
Lock matching rows against updates.
|
| Modifier and Type | Field | Description |
|---|---|---|
private int |
rowLock |
| Modifier and Type | Method | Description |
|---|---|---|
int |
asNumber() |
Get the row lock type id.
|
static FilterParams.RowLock |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static FilterParams.RowLock[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FilterParams.RowLock SHARED_LOCK
public static final FilterParams.RowLock EXCLUSIVE_LOCK
public static FilterParams.RowLock[] values()
for (FilterParams.RowLock c : FilterParams.RowLock.values()) System.out.println(c);
public static FilterParams.RowLock 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()