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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
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.
|
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) 2002, 2015 Oracle and/or its affiliates. All rights reserved.