| 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.rep.stream |
INTERNAL: Feeding and syncup (init) of rep stream from master node to
other node types (replicas, etc).
|
| Modifier and Type | Method and Description |
|---|---|
protected boolean |
FileReader.ReadWindow.fillNext(boolean singleFile,
int bytesNeeded)
Fill up the read buffer with more data, moving along to the
following file (next largest number) if needed.
|
FileHandle |
FileManager.getFileHandle(long fileNum)
Return a read only file handle that corresponds to this file number.
|
long |
FileManager.getFileHeaderPrevOffset(long fileNum) |
Timestamp |
FileManager.getFileHeaderTimestamp(long fileNum) |
WholeEntry |
LogManager.getLogEntryDirectFromFile(long lsn)
Reads a log entry using a FileSource, and returns null (rather than
throwing a ChecksumException) if the entry exists in a log buffer that
was not flushed.
|
LogSource |
LogManager.getLogSource(long lsn)
Find the LSN, whether in a file or still in the log buffers.
|
boolean |
FileReader.readNextEntryAllowExceptions()
Variant of readNextEntry that throws FileNotFoundException and
ChecksumException, rather than wrapping them in an
EnvironmentFailureException and invalidating the enviornment.
|
protected void |
FileReader.setBackwardPosition()
Ensure that the next target is in the window.
|
protected void |
FileReader.setForwardPosition()
Ensure that the next target is in the window.
|
void |
FileReader.skipData(int amountToSkip) |
void |
FileReader.ReadWindow.slideAndFill(long windowfileNum,
long windowStartOffset,
long targetOffset,
boolean forward) |
void |
ChecksumValidator.update(ByteBuffer buf,
int length)
Add this byte buffer to the checksum.
|
void |
ChecksumValidator.validate(long expectedChecksum,
long fileNum,
long fileOffset) |
| Constructor and Description |
|---|
LogEntryHeader(ByteBuffer entryBuffer,
int logVersion,
long lsn)
For reading a log entry.
|
| Modifier and Type | Method and Description |
|---|---|
void |
FeederReplicaSyncup.execute()
The feeder's side of the protocol.
|
OutputWireRecord |
FeederSyncupReader.scanBackwards(VLSN vlsn)
Backward scanning for records for the feeder's part in syncup.
|
Copyright © 2024. All rights reserved.