Package com.sleepycat.je.log

Provides classes and interfaces for the JDB log subsystem.

See:
          Description

Interface Summary
Loggable A class that implements Loggable knows how to read and write itself into a ByteBuffer in a format suitable for the JE log or JE replication messages.
LogSource A class that implements LogSource can return portions of the log.
 

Class Summary
CheckpointFileReader CheckpointFileReader searches for root and checkpoint entries.
ChecksumValidator Checksum validator is used to check checksums on log entries.
CleanerFileReader CleanerFileReader scans log files for INs and LNs.
DbOpReplicationContext This subclass of ReplicationContext adds information specific to database operations to the replication context passed from operation-aware code down the the logging layer.
DumpFileReader The DumpFileReader prints every log entry to stdout.
FileHandle A FileHandle embodies a File and its accompanying latch.
FileHandleSource FileHandleSource is a file source built on top of a cached file handle.
FileHeader A FileHeader embodies the header information at the beginning of each log file.
FileManager The FileManager presents the abstraction of one contiguous file.
FileReader A FileReader is an abstract class that traverses the log files, reading in chunks of the file at a time.
FileReader.ReadWindow A ReadWindow provides a swathe of data read from the JE log.
FileSource FileSource is used as a channel to a log file when faulting in objects from the log.
FSyncManager  
FSyncManager.FSyncGroup  
INFileReader INFileReader supports recovery by scanning log files during the IN rebuild pass.
JEFileFilter JEFileFilters are used for listing je files.
LastFileReader LastFileReader traverses the last log file, doing checksums and looking for the end of the log.
LNFileReader LNFileReader scans log files for LNs.
LogBuffer LogBuffers hold outgoing, newly written log entries.
LogBufferPool LogBufferPool keeps a set of log buffers.
LogContext Context parameters that apply to all logged items when multiple items are logged in one log operation.
LogEntryHeader A LogEntryHeader embodies the header information at the beginning of each log entry file.
LogEntryType LogEntryType is an enumeration of all log entry types.
LogItem Item parameters that apply to a single logged item.
LogManager The LogManager supports reading and writing to the JE log.
LogStatDefinition Per-stat Metadata for JE FileManager, FSyncManager, LogManager and LogBufferPool statistics.
LogUtils This class holds convenience methods for marshalling internal JE data to and from the log.
LogUtils.XidImpl  
PrintFileReader The PrintFileReader prints out the target log entries.
ReplicationContext ReplicationContext provides context about high-level operations so that the logging level can determine which replication related actions are required for a given Loggable item.
ScavengerFileReader A ScavengerFileReader reads the log backwards.
SearchFileReader SearchFileReader searches for the a given entry type.
StatsFileReader The StatsFileReader generates stats about the log entries read, such as the count of each type of entry, the number of bytes, minimum and maximum sized log entry.
StatsFileReader.CheckpointCounter  
StatsFileReader.EntryInfo  
StatsFileReader.LogEntryTypeComparator  
SyncedLogManager The SyncedLogManager uses the synchronized keyword to implement protected regions.
Trace Trace logs event tracing messages into .jdb files.
UtilizationFileReader Summarizes the utilized and unutilized portion of each log file by examining each log entry.
VLSNDistributionReader This is a debugging utility which implements the unadvertised DbPrintLog -vd option, which displays VLSN distribution in a log.
WholeEntry This class packages the log entry header and the log entry "contents" together for the use of components that need information from both parts.
 

Enum Summary
FileManager.FileMode  
LogEntryType.Marshall  
LogEntryType.NodeType  
LogEntryType.Replicable  
LogEntryType.Txnal  
Provisional Specifies whether to log an entry provisionally.
 

Exception Summary
ChecksumException Indicates that a checksum validation failed.
FileReader.EOFException Never seen by user, used to indicate that the file reader should stop.
 

Package com.sleepycat.je.log Description

Provides classes and interfaces for the JDB log subsystem.

Package Specification

(None)



Copyright (c) 2004-2012 Oracle. All rights reserved.