|
Berkeley DB version 5.2.36 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.sleepycat.db.LockDetectMode
public final class LockDetectMode
Deadlock detection modes.
Field Summary | |
---|---|
static LockDetectMode |
DEFAULT
Use whatever lock policy was specified when the database environment was created. |
static LockDetectMode |
EXPIRE
Reject lock requests which have timed out. |
static LockDetectMode |
MAXLOCKS
Reject the lock request for the locker ID with the most locks. |
static LockDetectMode |
MAXWRITE
Reject the lock request for the locker ID with the most write locks. |
static LockDetectMode |
MINLOCKS
Reject the lock request for the locker ID with the fewest locks. |
static LockDetectMode |
MINWRITE
Reject the lock request for the locker ID with the fewest write locks. |
static LockDetectMode |
NONE
Turn off deadlock detection. |
static LockDetectMode |
OLDEST
Reject the lock request for the locker ID with the oldest lock. |
static LockDetectMode |
RANDOM
Reject the lock request for a random locker ID. |
static LockDetectMode |
YOUNGEST
Reject the lock request for the locker ID with the youngest lock. |
Method Summary | |
---|---|
String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final LockDetectMode NONE
public static final LockDetectMode DEFAULT
public static final LockDetectMode EXPIRE
public static final LockDetectMode MAXLOCKS
public static final LockDetectMode MAXWRITE
public static final LockDetectMode MINLOCKS
public static final LockDetectMode MINWRITE
public static final LockDetectMode OLDEST
public static final LockDetectMode RANDOM
public static final LockDetectMode YOUNGEST
Method Detail |
---|
public String toString()
toString
in class Object
|
Berkeley DB version 5.2.36 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |