Uses of Class com.sleepycat.db.Lock (Oracle - Berkeley DB Java API)

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

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

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

Uses of Lock in com.sleepycat.db

Methods in com.sleepycat.db that return Lock
`Lock` | `LockRequest.getLock()` Return the lock reference.
`Lock` | `LockNotGrantedException.getLock()` Returns null when `Environment.getLock` was called, and returns the lock in the failed LockRequest when `Environment.lockVector` was called.
`Lock` | `Environment.getLock(int locker, boolean noWait, DatabaseEntry object, LockRequestMode mode)` Acquire a lock from the lock table.

Methods in com.sleepycat.db with parameters of type Lock
`void` | `Environment.putLock(Lock lock)` Release a lock.
`void` | `LockRequest.setLock(Lock lock)` Set the lock reference.

Constructors in com.sleepycat.db with parameters of type Lock
`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.

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

Copyright (c) 1996,2008 Oracle. All rights reserved.