| Package | Description |
|---|---|
| com.sleepycat.je |
Foundation for creating environments, databases and transactions; provides
cursor based data access.
|
| com.sleepycat.je.dbi |
INTERNAL: Underlying XxxImpl classes for Environment, Database and Cursor,
plus other misc classes (originally, dbi meant "db internal interface").
|
| com.sleepycat.je.rep |
Berkeley DB Java Edition High Availability (JE HA) enables replication of JE
environments.
|
| com.sleepycat.je.rep.txn |
INTERNAL: HA Txn/Locker subclasses for enforcing consistency and durability
constraints.
|
| com.sleepycat.je.txn |
INTERNAL: Transaction management and locking (concurrency control).
|
| Modifier and Type | Class and Description |
|---|---|
class |
DeadlockException
Thrown when a deadlock is detected.
|
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 operation.
|
class |
TransactionTimeoutException
Thrown when the transaction timeout interval is exceeded.
|
| Modifier and Type | Method and Description |
|---|---|
CursorImpl.LockStanding |
CursorImpl.lockLN(LockType lockType)
Does not allow uncontended locks.
|
void |
DbTree.updateNameLN(Locker locker,
String dbName,
DbOpReplicationContext repContext)
Update the NameLN for the DatabaseImpl when the DatabaseConfig changes.
|
| Modifier and Type | Class and Description |
|---|---|
class |
LockPreemptedException
Thrown when a lock has been "stolen", or preempted, from a transaction in a
replicated environment.
|
| Modifier and Type | Method and Description |
|---|---|
LockResult |
MasterTxn.lockInternal(long lsn,
LockType lockType,
boolean noWait,
boolean jumpAheadOfWaiters,
DatabaseImpl database)
Prevent this MasterTxn from taking locks if the node becomes a
replica.
|
LockResult |
ReadonlyTxn.lockInternal(long lsn,
LockType lockType,
boolean noWait,
boolean jumpAheadOfWaiters,
DatabaseImpl database)
Provides a wrapper to screen for write locks.
|
| Modifier and Type | Method and Description |
|---|---|
LockResult |
Locker.lock(long lsn,
LockType lockType,
boolean noWait,
DatabaseImpl database)
Request a blocking or non-blocking lock of the given type on the given
LSN.
|
Copyright © 2024. All rights reserved.