Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 4.3.29
PREV NEXT | FRAMES NO FRAMES

## Uses of Class
com.sleepycat.db.LockDetectMode

Packages that use LockDetectMode
com.sleepycat.db | Berkeley DB Java API [reference guide] [Java programming notes].

Uses of LockDetectMode in com.sleepycat.db

Fields in com.sleepycat.db declared as LockDetectMode
`static LockDetectMode` | `LockDetectMode.NONE` Turn off deadlock detection.
`static LockDetectMode` | `LockDetectMode.DEFAULT` Use whatever lock policy was specified when the database environment was created.
`static LockDetectMode` | `LockDetectMode.EXPIRE` Reject lock requests which have timed out.
`static LockDetectMode` | `LockDetectMode.MAXLOCKS` Reject the lock request for the locker ID with the most locks.
`static LockDetectMode` | `LockDetectMode.MAXWRITE` Reject the lock request for the locker ID with the most write locks.
`static LockDetectMode` | `LockDetectMode.MINLOCKS` Reject the lock request for the locker ID with the fewest locks.
`static LockDetectMode` | `LockDetectMode.MINWRITE` Reject the lock request for the locker ID with the fewest write locks.
`static LockDetectMode` | `LockDetectMode.OLDEST` Reject the lock request for the locker ID with the oldest lock.
`static LockDetectMode` | `LockDetectMode.RANDOM` Reject the lock request for a random locker ID.
`static LockDetectMode` | `LockDetectMode.YOUNGEST` Reject the lock request for the locker ID with the youngest lock.

Methods in com.sleepycat.db that return LockDetectMode
`LockDetectMode` | `EnvironmentConfig.getLockDetectMode()` Return if the deadlock detector is configured to run whenever a lock conflict occurs.

Methods in com.sleepycat.db with parameters of type LockDetectMode
`void` | `EnvironmentConfig.setLockDetectMode(LockDetectMode lockDetectMode)` Configure if the deadlock detector is to be run whenever a lock conflict occurs.
`int` | `Environment.detectDeadlocks(LockDetectMode mode)` Run one iteration of the deadlock detector.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
| Berkeley DB version 4.3.29
PREV NEXT | FRAMES NO FRAMES

Copyright (c) 1996-2004 Sleepycat Software, Inc. - All rights reserved.