Berkeley DB Java Edition
version 4.1.21

Uses of Class
com.sleepycat.je.LockConflictException

Packages that use LockConflictException
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
 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
 OperationStatus Cursor.delete()
          Deletes the key/data pair to which the cursor refers.
 OperationStatus SecondaryCursor.delete()
          Delete the key/data pair to which the cursor refers from the primary database and all secondary indices.
 OperationStatus Database.delete(Transaction txn, DatabaseEntry key)
          Removes key/data pairs from the database.
 OperationStatus SecondaryDatabase.delete(Transaction txn, DatabaseEntry key)
          Deletes the primary key/data pair associated with the specified secondary key.
 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
 class LockPreemptedException
          Thrown when a lock has been "stolen", or preempted, from a transaction in a replicated environment.
 


Berkeley DB Java Edition
version 4.1.21

Copyright (c) 2004-2010 Oracle. All rights reserved.