| Package | Description |
|---|---|
| com.sleepycat.je.cleaner |
INTERNAL: disk garbage collection.
|
| 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.log |
INTERNAL: Low level data storage including log entry sequential
logging/writing, random reading/fetching, and sequential reading.
|
| com.sleepycat.je.log.entry |
INTERNAL: Classes for serializing/materializing log entries.
|
| com.sleepycat.je.tree |
INTERNAL: Btree data structure (the JE main cache), including persistent
nodes classes, and Btree access methods.
|
| com.sleepycat.je.tree.dupConvert |
INTERNAL: Defunct Btree classes for old duplicate Btrees, only used during
recovery.
|
| Modifier and Type | Method and Description |
|---|---|
void |
UtilizationTracker.countNewLogEntry(long lsn,
LogEntryType type,
int size)
Counts the addition of all new log entries including LNs.
|
void |
RecoveryUtilizationTracker.countNewLogEntry(long lsn,
LogEntryType type,
int size)
Counts the addition of all new log entries including LNs.
|
void |
RecoveryUtilizationTracker.countObsoleteIfUncounted(long oldLsn,
long newLsn,
LogEntryType type,
int size,
boolean trackOffset)
Counts the oldLsn of a node obsolete if it has not already been counted
at the point of lsn in the log.
|
void |
UtilizationTracker.countObsoleteNode(long lsn,
LogEntryType type,
int size)
Counts a node that has become obsolete and tracks the LSN offset, if
non-zero, to avoid a lookup during cleaning.
|
void |
LocalUtilizationTracker.countObsoleteNode(long lsn,
LogEntryType type,
int size)
Counts a node that has become obsolete and tracks the LSN offset, if
non-zero, to avoid a lookup during cleaning.
|
void |
UtilizationTracker.countObsoleteNodeDupsAllowed(long lsn,
LogEntryType type,
int size)
Counts as countObsoleteNode does, tracks the obsolete LSN offset, but
does not fire an assert if the offset has already been counted.
|
void |
UtilizationTracker.countObsoleteNodeInexact(long lsn,
LogEntryType type,
int size)
Counts as countObsoleteNode does, but since the LSN may be inexact, does
not track the obsolete LSN offset.
|
void |
LocalUtilizationTracker.countObsoleteNodeInexact(long lsn,
LogEntryType type,
int size)
Counts as countObsoleteNode does, but since the LSN may be inexact, does
not track the obsolete LSN offset.
|
void |
RecoveryUtilizationTracker.countObsoleteUnconditional(long lsn,
LogEntryType type,
int size,
boolean trackOffset)
Counts the LSN of a node obsolete unconditionally.
|
static boolean |
BaseUtilizationTracker.isLNType(LogEntryType type)
Returns whether the given type is an LN; a null type is assumed to be an
LN.
|
static boolean |
BaseUtilizationTracker.trackObsoleteInfo(LogEntryType type)
Returns whether obsoleteness is tracked for the given type.
|
| Modifier and Type | Method and Description |
|---|---|
LogEntryType |
DbType.getLogType(boolean isTransactional)
Returns the LogEntryType for LNs in this DB, or null if the usual user
LN types should be used.
|
| Modifier and Type | Method and Description |
|---|---|
void |
SortedLSNTreeWalker.TreeNodeProcessor.processLSN(long childLSN,
LogEntryType childType,
Node theNode,
byte[] lnKey,
int lastLoggedSize,
boolean isEmbedded) |
| Modifier and Type | Field and Description |
|---|---|
protected Map<LogEntryType,LogEntry> |
LNFileReader.targetEntryMap |
| Modifier and Type | Method and Description |
|---|---|
static LogEntryType |
LogEntryType.findType(byte typeNum) |
LogEntryType |
LastFileReader.getEntryType() |
| Modifier and Type | Method and Description |
|---|---|
static Set<LogEntryType> |
LogEntryType.getAllTypes()
Get a copy of all types for unit testing.
|
| Modifier and Type | Method and Description |
|---|---|
void |
LNFileReader.addTargetType(LogEntryType entryType) |
void |
INFileReader.addTargetType(LogEntryType entryType)
Configure this reader to target this kind of entry.
|
void |
LogManager.countObsoleteNode(long lsn,
LogEntryType type,
int size,
boolean countExact)
Count node as obsolete under the log write latch.
|
void |
LogManager.countObsoleteNodeDupsAllowed(long lsn,
LogEntryType type,
int size)
A flavor of countObsoleteNode which does not fire an assert if the
offset has already been counted.
|
long |
LastFileReader.getLastSeen(LogEntryType type) |
protected abstract void |
ScavengerFileReader.processEntryCallback(LogEntry entry,
LogEntryType entryType) |
void |
LastFileReader.setTargetType(LogEntryType type)
Tell the reader that we are interested in these kind of entries.
|
void |
ScavengerFileReader.setTargetType(LogEntryType type)
Tell the reader that we are interested in these kind of entries.
|
| Constructor and Description |
|---|
SearchFileReader(EnvironmentImpl env,
int readBufferSize,
boolean forward,
long startLsn,
long endOfFileLsn,
LogEntryType targetType)
Create this reader to start at a given LSN.
|
| Modifier and Type | Method and Description |
|---|---|
LogEntryType |
LogEntry.getLogType() |
LogEntryType |
ErasedLogEntry.getLogType() |
| Modifier and Type | Method and Description |
|---|---|
static <T extends Loggable> |
SingleItemEntry.create(LogEntryType entryType,
T item)
Construct a log entry for writing.
|
void |
LogEntry.setLogType(LogEntryType entryType)
Inform a LogEntry instance of its corresponding LogEntryType.
|
void |
ErasedLogEntry.setLogType(LogEntryType entryType) |
| Constructor and Description |
|---|
BINDeltaLogEntry(ByteBuffer bytes,
long lastFullLsn,
long lastDeltaLsn,
LogEntryType logEntryType,
IN parent)
Used to write a pre-serialized log entry.
|
FileHeaderEntry(LogEntryType entryType,
FileHeader item)
Construct a log entry for writing.
|
INLogEntry(ByteBuffer bytes,
long lastFullLsn,
long lastDeltaLsn,
LogEntryType logEntryType,
IN parent)
Used to write a pre-serialized log entry.
|
LNLogEntry(LogEntryType entryType,
DatabaseId dbId,
Txn txn,
long abortLsn,
boolean abortKD,
byte[] abortKey,
byte[] abortData,
long abortVLSN,
int abortExpiration,
boolean abortExpirationInHours,
byte[] key,
T ln,
boolean embeddedLN,
int expiration,
boolean expirationInHours,
int priorSize,
long priorLsn) |
NameLNLogEntry(LogEntryType entryType,
DatabaseId dbId,
Txn txn,
long abortLsn,
boolean abortKD,
byte[] key,
NameLN nameLN,
int priorSize,
long priorLsn,
ReplicationContext repContext)
Constructor to write this entry.
|
SingleItemEntry(LogEntryType entryType,
T item)
Construct a log entry for writing.
|
| Modifier and Type | Method and Description |
|---|---|
LogEntryType |
LN.getGenericLogType() |
LogEntryType |
IN.getGenericLogType() |
abstract LogEntryType |
Node.getGenericLogType()
Returns the generic LogEntryType for this node.
|
LogEntryType |
BIN.getLogType() |
LogEntryType |
IN.getLogType()
Get the log type of this node.
|
protected LogEntryType |
MapLN.getLogType(boolean isInsert,
boolean isTransactional,
DatabaseImpl db)
Return the correct log entry type for a MapLN depends on whether it's
transactional.
|
protected LogEntryType |
NameLN.getLogType(boolean isInsert,
boolean isTransactional,
DatabaseImpl db)
Return the correct log entry type for a NameLN depends on whether it's
transactional.
|
protected LogEntryType |
FileSummaryLN.getLogType(boolean isInsert,
boolean isTransactional,
DatabaseImpl db)
Return the correct log type for a FileSummaryLN.
|
protected LogEntryType |
LN.getLogType(boolean isInsert,
boolean isTransactional,
DatabaseImpl db) |
| Modifier and Type | Method and Description |
|---|---|
LogEntryType |
DBIN.getLogType() |
LogEntryType |
DIN.getLogType() |
protected LogEntryType |
DupCountLN.getLogType(boolean isInsert,
boolean isTransactional,
DatabaseImpl db)
Return the correct log entry type for a DupCountLN depends on whether
it's transactional.
|
Copyright © 2024. All rights reserved.