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

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

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

Uses of LockOperation in com.sleepycat.db

Fields in com.sleepycat.db declared as LockOperation
`static LockOperation` | `LockOperation.GET` Get the lock defined by the values of the mode and obj fields, for the specified locker.
`static LockOperation` | `LockOperation.GET_TIMEOUT` Identical to LockOperation GET except that the value in the timeout field overrides any previously specified timeout value for this lock.
`static LockOperation` | `LockOperation.PUT` The lock to which the lock field refers is released.
`static LockOperation` | `LockOperation.PUT_ALL` All locks held by the specified locker are released.
`static LockOperation` | `LockOperation.PUT_OBJ` All locks held on obj are released.
`static LockOperation` | `LockOperation.TIMEOUT` Cause the specified locker to timeout immediately.

Methods in com.sleepycat.db that return LockOperation
`LockOperation` | `LockRequest.getOp()` Return the lock operation.

Methods in com.sleepycat.db with parameters of type LockOperation
`void` | `LockRequest.setOp(LockOperation op)` Set the operation.

Constructors in com.sleepycat.db with parameters of type LockOperation
`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.4.20
PREV NEXT | FRAMES NO FRAMES

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