|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<LockException.Code>
org.apache.commons.transaction.locking.LockException.Code
public static enum LockException.Code
| Enum Constant Summary | |
|---|---|
COMMIT_FAILED
A commit was tried, but did not succeed. |
|
CONFLICT
A conflict between two optimistic transactions occurred. |
|
INTERRUPTED
Thread has been interrupted while waiting for lock. |
|
TIMED_OUT
Maximum wait time for a lock has been exceeded. |
|
WOULD_DEADLOCK
Locking request canceled because of deadlock. |
|
| Method Summary | |
|---|---|
static LockException.Code |
valueOf(String name)
Returns the enum constant of this type with the specified name. |
static LockException.Code[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final LockException.Code INTERRUPTED
public static final LockException.Code TIMED_OUT
public static final LockException.Code WOULD_DEADLOCK
public static final LockException.Code CONFLICT
public static final LockException.Code COMMIT_FAILED
| Method Detail |
|---|
public static LockException.Code[] values()
for (LockException.Code c : LockException.Code.values()) System.out.println(c);
public static LockException.Code valueOf(String name)
name - the name of the enum constant to be returned.
IllegalArgumentException - if this enum type has no constant
with the specified name
NullPointerException - if the argument is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||