| Package | Description |
|---|---|
| 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.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 |
|---|---|
TxnManager |
EnvironmentImpl.getTxnManager() |
| Modifier and Type | Method and Description |
|---|---|
protected long |
MasterTxn.generateId(TxnManager txnManager,
long ignore)
MasterTxns use txn ids from a reserved negative space.
|
protected long |
ReplayTxn.generateId(TxnManager txnManager,
long mandatedId)
Replay transactions always use the txn id that is included in its
replicated operation.
|
| Modifier and Type | Method and Description |
|---|---|
protected long |
PreparedTxn.generateId(TxnManager txnManager,
long mandatedId)
PrepareTxns use the mandated id.
|
protected long |
Txn.generateId(TxnManager txnManager,
long ignore)
UserTxns get a new unique id for each instance.
|
protected long |
BasicLocker.generateId(TxnManager txnManager,
long ignore)
BasicLockers always have a fixed id, because they are never used for
recovery.
|
protected abstract long |
Locker.generateId(TxnManager txnManager,
long mandatedId)
A Locker has to generate its next id.
|
Copyright © 2024. All rights reserved.