public enum LockModeType extends java.lang.Enum<LockModeType>
| Enum Constant and Description |
|---|
NONE |
OPTIMISTIC |
OPTIMISTIC_FORCE_INCREMENT |
PESSIMISTIC_FORCE_INCREMENT |
PESSIMISTIC_READ |
PESSIMISTIC_WRITE |
READ |
WRITE |
| Modifier and Type | Method and Description |
|---|---|
static LockModeType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LockModeType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LockModeType READ
public static final LockModeType WRITE
public static final LockModeType OPTIMISTIC
public static final LockModeType OPTIMISTIC_FORCE_INCREMENT
public static final LockModeType PESSIMISTIC_READ
public static final LockModeType PESSIMISTIC_WRITE
public static final LockModeType PESSIMISTIC_FORCE_INCREMENT
public static final LockModeType NONE
public static LockModeType[] values()
for (LockModeType c : LockModeType.values()) System.out.println(c);
public static LockModeType 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