public static enum Statement.LockContention extends Enum<Statement.LockContention>
| Enum Constant | Description |
|---|---|
DEFAULT |
Default behavior.
|
NOWAIT |
Do not wait to acquire row lock.
|
SKIP_LOCKED |
Do not wait to acquire a row lock.
|
| Modifier and Type | Method | Description |
|---|---|---|
static Statement.LockContention |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static Statement.LockContention[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Statement.LockContention DEFAULT
public static final Statement.LockContention NOWAIT
public static final Statement.LockContention SKIP_LOCKED
public static Statement.LockContention[] values()
for (Statement.LockContention c : Statement.LockContention.values()) System.out.println(c);
public static Statement.LockContention 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