public enum SelectForUpdateType extends java.lang.Enum<SelectForUpdateType>
| Enum Constant and Description |
|---|
NORMAL
indicate to get a lock in the normal way
|
NOWAIT
indicates to get a lock without waiting
|
WAIT
indicates to get a lock with waiting
|
| Modifier and Type | Method and Description |
|---|---|
static SelectForUpdateType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SelectForUpdateType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SelectForUpdateType NORMAL
public static final SelectForUpdateType NOWAIT
public static final SelectForUpdateType WAIT
public static SelectForUpdateType[] values()
for (SelectForUpdateType c : SelectForUpdateType.values()) System.out.println(c);
public static SelectForUpdateType 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