| 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.txn |
INTERNAL: Transaction management and locking (concurrency control).
|
| Modifier and Type | Method and Description |
|---|---|
static void |
DbCleanup.execute(EnvironmentImpl envImpl,
DbCleanup[] cleanupArray,
boolean isCommit)
Perform and complete the cleanup task _after_ the txn's write locks
have been released.
|
static void |
DbCleanup.setState(DbCleanup cleanup,
boolean isCommit)
Do any preparation needed for a cleanup task _before_ the txn's write
locks have been released.
|
static void |
DbCleanup.setStateAndExecute(EnvironmentImpl envImpl,
DbCleanup cleanup)
Process cleanup task when a non-transactional DB operation is complete
(meaning that the NameLN was logged).
|
| Modifier and Type | Field and Description |
|---|---|
protected Set<DbCleanup> |
Txn.dbCleanupSet |
| Modifier and Type | Method and Description |
|---|---|
Set<DbCleanup> |
Txn.getDbCleanupSet() |
| Modifier and Type | Method and Description |
|---|---|
void |
Txn.addDbCleanup(DbCleanup cleanup) |
void |
BasicLocker.addDbCleanup(DbCleanup cleanup) |
abstract void |
Locker.addDbCleanup(DbCleanup cleanup)
Database operations like remove, truncate and rename require that
DatabaseImpls are deleted or updated at transaction commit or abort.
|
void |
ReadCommittedLocker.addDbCleanup(DbCleanup cleanup)
Write operations are handled by the buddy Txn.
|
Copyright © 2024. All rights reserved.