| Package | Description |
|---|---|
| com.sleepycat.je.log |
INTERNAL: Low level data storage including log entry sequential
logging/writing, random reading/fetching, and sequential reading.
|
| com.sleepycat.je.tree |
INTERNAL: Btree data structure (the JE main cache), including persistent
nodes classes, and Btree access methods.
|
| com.sleepycat.je.txn |
INTERNAL: Transaction management and locking (concurrency control).
|
| Modifier and Type | Field and Description |
|---|---|
Collection<WriteLockInfo> |
LogParams.obsoleteWriteLockInfo
Set of obsolete LSNs which are counted when logging a commit entry.
|
| Modifier and Type | Method and Description |
|---|---|
LogItem |
LN.log(EnvironmentImpl envImpl,
DatabaseImpl dbImpl,
Locker locker,
WriteLockInfo writeLockInfo,
boolean newEmbeddedLN,
byte[] newKey,
int newExpiration,
boolean newExpirationInHours,
boolean currEmbeddedLN,
long currLsn,
int currSize,
boolean isInsertion,
boolean backgroundIO,
ReplicationContext repContext)
Convenience logging method, used to migrate an LN during cleaning.
|
LogItem |
LN.optionalLog(EnvironmentImpl envImpl,
DatabaseImpl dbImpl,
Locker locker,
WriteLockInfo writeLockInfo,
boolean newEmbeddedLN,
byte[] newKey,
int newExpiration,
boolean newExpirationInHours,
boolean currEmbeddedLN,
long currLsn,
int currSize,
boolean isInsertion,
ReplicationContext repContext)
Convenience logging method.
|
| Modifier and Type | Method and Description |
|---|---|
WriteLockInfo |
LockResult.getWriteLockInfo() |
WriteLockInfo |
Txn.getWriteLockInfo(long lsn) |
WriteLockInfo |
BasicLocker.getWriteLockInfo(long lsn) |
abstract WriteLockInfo |
Locker.getWriteLockInfo(long lsn) |
WriteLockInfo |
ReadCommittedLocker.getWriteLockInfo(long lsn) |
| Modifier and Type | Method and Description |
|---|---|
void |
WriteLockInfo.copyAllInfo(WriteLockInfo source) |
void |
LockResult.copyWriteLockInfo(WriteLockInfo fromInfo)
Used to copy write lock info when an LSN is changed.
|
| Constructor and Description |
|---|
LockResult(LockGrantType grant,
WriteLockInfo wli) |
Copyright © 2024. All rights reserved.