Uses of Class com.sleepycat.je.LockConflictException (Oracle - Berkeley DB Java Edition API)
Date: 2014-12-16

## Uses of Class
com.sleepycat.je.LockConflictException

- Packages that use LockConflictException
  Package | Description
  --- | ---
  com.sleepycat.je | Foundation for creating environments, databases and transactions; provides cursor based data access.
  com.sleepycat.je.rep | Berkeley DB Java Edition High Availability (JE HA) enables replication of JE environments.

- - ### Uses of LockConflictException in com.sleepycat.je

    Subclasses of LockConflictException in com.sleepycat.je
    Modifier and Type | Class and Description
    --- | ---
    `class` | `DeadlockException` Deprecated. temporarily until true deadlock detection is implemented. Presently, {code DeadlockException} is replaced by `LockConflictException` as the common base class for lock conflict exceptions.
    `class` | `LockNotAvailableException` Thrown when a non-blocking operation fails to get a lock.
    `class` | `LockNotGrantedException` Deprecated. replaced by `LockNotAvailableException`
    `class` | `LockTimeoutException` Thrown when multiple threads are competing for a lock and the lock timeout interval is exceeded for the current thread.
    `class` | `TransactionTimeoutException` Thrown when multiple threads are competing for a lock and the transaction timeout interval is exceeded for the current thread.

    Methods in com.sleepycat.je that throw LockConflictException
    Modifier and Type | Method and Description
    --- | ---
    `OperationStatus` | SecondaryCursor.`delete()` Delete the key/data pair to which the cursor refers from the primary database and all secondary indices.
    `OperationStatus` | Cursor.`delete()` Deletes the key/data pair to which the cursor refers.
    `OperationStatus` | SecondaryDatabase.`delete(Transaction txn, DatabaseEntry key)` Deletes the primary key/data pair associated with the specified secondary key.
    `OperationStatus` | Database.`delete(Transaction txn, DatabaseEntry key)` Removes key/data pairs from the database.
    `OperationStatus` | Database.`get(Transaction txn, DatabaseEntry key, DatabaseEntry data, LockMode lockMode)` Retrieves the key/data pair with the given key.
    `OperationStatus` | Database.`getSearchBoth(Transaction txn, DatabaseEntry key, DatabaseEntry data, LockMode lockMode)` Retrieves the key/data pair with the given key and data value, that is, both the key and data items must match.

  - ### Uses of LockConflictException in com.sleepycat.je.rep

    Subclasses of LockConflictException in com.sleepycat.je.rep
    Modifier and Type | Class and Description
    --- | ---
    `class` | `LockPreemptedException` Thrown when a lock has been "stolen", or preempted, from a transaction in a replicated environment.

Copyright (c) 2004, 2014 Oracle and/or its affiliates. All rights reserved.