public static enum TableLock.LockMode extends Enum<TableLock.LockMode>
| Enum Constant and Description |
|---|
EXCLUSIVE |
ROW_EXCLUSIVE |
ROW_SHARE |
SHARE |
SHARE_ROW_EXCLUSIVE |
| Modifier and Type | Method and Description |
|---|---|
String |
getMode() |
static TableLock.LockMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static TableLock.LockMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableLock.LockMode ROW_SHARE
public static final TableLock.LockMode ROW_EXCLUSIVE
public static final TableLock.LockMode SHARE
public static final TableLock.LockMode SHARE_ROW_EXCLUSIVE
public static final TableLock.LockMode EXCLUSIVE
public static TableLock.LockMode[] values()
for (TableLock.LockMode c : TableLock.LockMode.values()) System.out.println(c);
public static TableLock.LockMode 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 String getMode()
Copyright © 2013. All rights reserved.