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

Packages that use LockRequestMode
Package | Description
--- | ---
com.sleepycat.db | Berkeley DB Java API [reference guide] [Java programming notes].

### Uses of LockRequestMode in com.sleepycat.db

Fields in com.sleepycat.db declared as LockRequestMode
Modifier and Type | Field and Description
--- | ---
`static LockRequestMode` | LockRequestMode.`IREAD` Intention to read (shared).
`static LockRequestMode` | LockRequestMode.`IWR` Intention to read and write (shared).
`static LockRequestMode` | LockRequestMode.`IWRITE` Intention to write (shared).
`static LockRequestMode` | LockRequestMode.`READ` Read (shared).
`static LockRequestMode` | LockRequestMode.`WRITE` Write (exclusive).

Methods in com.sleepycat.db that return LockRequestMode
Modifier and Type | Method and Description
--- | ---
`LockRequestMode` | LockRequest.`getMode()` Return the lock mode.

Methods in com.sleepycat.db with parameters of type LockRequestMode
Modifier and Type | Method and Description
--- | ---
`Lock` | Environment.`getLock(int locker, boolean noWait, DatabaseEntry object, LockRequestMode mode)` Acquire a lock from the lock table returning information about it in the Lock parameter.
`void` | LockRequest.`setMode(LockRequestMode mode)` Set the lock mode.

Constructors in com.sleepycat.db with parameters of type LockRequestMode
Constructor and Description
`LockRequest(LockOperation op, LockRequestMode mode, DatabaseEntry obj)` Construct a LockRequest with the specified operation and mode for the specified object.
`LockRequest(LockOperation op, LockRequestMode mode, DatabaseEntry obj, Lock lock)` Construct a LockRequest with the specified operation, mode and lock, for the specified object.
`LockRequest(LockOperation op, LockRequestMode mode, DatabaseEntry obj, Lock lock, int timeout)` Construct a LockRequest with the specified operation, mode, lock and timeout for the specified object.