Uses of Class com.sleepycat.db.LockOperation (Oracle - Berkeley DB Java API)
Date: 2017-04-13

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

- Packages that use LockOperation
  Package | Description
  --- | ---
  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
    Modifier and Type | Field and Description
    --- | ---
    `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
    Modifier and Type | Method and Description
    --- | ---
    `LockOperation` | LockRequest.`getOp()` Return the lock operation.

    Methods in com.sleepycat.db with parameters of type LockOperation
    Modifier and Type | Method and Description
    --- | ---
    `void` | LockRequest.`setOp(LockOperation op)` Set the operation.

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

Copyright (c) 1996, 2017 Oracle and/or its affiliates. All rights reserved.