| Package | Description |
|---|---|
| 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 | 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.