|
|||||||||
| Home >> All >> org >> apache >> derby >> impl >> store >> raw >> [ log overview ] | PREV NEXT | ||||||||
A
- action - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- activeFile - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- activePerms - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- appendLogRecord(byte[], int, int, byte[], int, int) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Append length bytes of data to the log prepended by a long log instant and followed by 4 bytes of length information.
B
- BACKWARD - Static variable in class org.apache.derby.impl.store.raw.log.Scan
- BACKWARD_FROM_LOG_END - Static variable in class org.apache.derby.impl.store.raw.log.Scan
- boot(boolean, Properties) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Boot up the log factory.
- buffer - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFileBuffer
- Fields of the class
- bytes_free - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFileBuffer
C
- CHECKPOINT_INTERVAL_MAX - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- CHECKPOINT_INTERVAL_MIN - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- CRC32_ALGORITHM - Static variable in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- CheckpointOperation - class org.apache.derby.impl.store.raw.log.CheckpointOperation.
- A Log Operation that represents a checkpoint.
- CheckpointOperation(long, long, Formatable) - Constructor for class org.apache.derby.impl.store.raw.log.CheckpointOperation
- CheckpointOperation() - Constructor for class org.apache.derby.impl.store.raw.log.CheckpointOperation
- ChecksumOperation - class org.apache.derby.impl.store.raw.log.ChecksumOperation.
- A Log Operation that represents a checksum for a group of log records that are written to the tranaction log file.
- ChecksumOperation() - Constructor for class org.apache.derby.impl.store.raw.log.ChecksumOperation
- canSupport(Properties) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- canSupport(Properties) - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- checkCorrupt() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- checkVersion(int, int) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Check to see if a database has been upgraded to the required level in order to use a store feature.
- checkpoint(RawStoreFactory, DataFactory, TransactionFactory, boolean) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Checkpoint the rawStore.
- checkpoint(RawStoreFactory, DataFactory, TransactionFactory, boolean) - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- MT - not needed, no work is done
- checkpointDaemon - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- checkpointDaemonCalled - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- checkpointInRFR(LogInstant, long, DataFactory) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- redo a checkpoint during rollforward recovery
- checkpointInRFR(LogInstant, long, DataFactory) - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- perform a checkpoint during rollforward recovery
- checkpointInstant - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- checkpointInterval - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- checkpointWithTran(RawTransaction, RawStoreFactory, DataFactory, TransactionFactory) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- checkpoint with pre-start transaction
- checksum - Variable in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- checksum - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- checksumAlgo - Variable in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- checksumInstant - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- checksumLength - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- checksumLogOperation - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- checksumLogRecord - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- checksumLogRecordSize - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- checksumValue - Variable in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- close() - Method in class org.apache.derby.impl.store.raw.log.FileLogger
- Close the logger.
- close() - Method in class org.apache.derby.impl.store.raw.log.FlushedScan
- Close the scan.
- close() - Method in class org.apache.derby.impl.store.raw.log.FlushedScanHandle
- close() - Method in class org.apache.derby.impl.store.raw.log.LogAccessFile
- close() - Method in class org.apache.derby.impl.store.raw.log.Scan
- Close the scan.
- close() - Method in interface org.apache.derby.impl.store.raw.log.StreamLogScan
- Close this log scan.
- copyActiveLogFiles(File) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- copyActiveLogFiles(File) - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- corrupt() - Method in class org.apache.derby.impl.store.raw.log.LogAccessFile
- The database is being marked corrupted, get rid of file pointer without writing out anything more.
- corrupt - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- If not null then something is corrupt in the raw store and this represents the original error.
- currentBuffer - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- currentCheckpoint - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- currentInstant - Variable in class org.apache.derby.impl.store.raw.log.FlushedScan
- currentInstant() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Get the current log instant - this is the log instant of the Next log record to be written out
- currentInstant - Variable in class org.apache.derby.impl.store.raw.log.Scan
- currentLogFileFirstUnflushedPosition - Variable in class org.apache.derby.impl.store.raw.log.FlushedScan
- currentLogFileHasUnflushedRecord() - Method in class org.apache.derby.impl.store.raw.log.FlushedScan
- currentLogFileLength - Variable in class org.apache.derby.impl.store.raw.log.Scan
- currentLogFileNumber - Variable in class org.apache.derby.impl.store.raw.log.FlushedScan
- currentLogFileNumber - Variable in class org.apache.derby.impl.store.raw.log.Scan
D
- DBG_FLAG - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- DEFAULT_CHECKPOINT_INTERVAL - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- DEFAULT_LOG_ARCHIVE_DIRECTORY - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- DEFAULT_LOG_BUFFER_SIZE - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- DEFAULT_LOG_SWITCH_INTERVAL - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- DERBY_10_0_MAX_LOGFILE_NUMBER - Static variable in class org.apache.derby.impl.store.raw.log.LogCounter
- DUMP_LOG_FROM_LOG_FILE - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- DUMP_LOG_ONLY - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- D_FlushedScan - class org.apache.derby.impl.store.raw.log.D_FlushedScan.
- D_FlushedScan() - Constructor for class org.apache.derby.impl.store.raw.log.D_FlushedScan
- D_LogToFile - class org.apache.derby.impl.store.raw.log.D_LogToFile.
- D_LogToFile() - Constructor for class org.apache.derby.impl.store.raw.log.D_LogToFile
- dataDirectory - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- dataFactory - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- dataLength - Variable in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- databaseEncrypted - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- databaseEncrypted - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- databaseEncrypted() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- db - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- decrypt(byte[], int, int, byte[], int) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- deleteObsoleteLogfiles() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- deleteOnlineArchivedLogFiles() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- deleteOnlineArchivedLogFiles() - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- diag() - Method in class org.apache.derby.impl.store.raw.log.D_FlushedScan
- diag() - Method in class org.apache.derby.impl.store.raw.log.D_LogToFile
- directWrite - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- dirtyBuffers - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- disableLogArchiveMode() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- disableLogArchiveMode() - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- doMe(Transaction, LogInstant, LimitObjectInput) - Method in class org.apache.derby.impl.store.raw.log.CheckpointOperation
- Nothing to do unless we are rollforward recovery; Redoing of checkpoints during rollforward recovery allows us to restart the roll-forward recovery from the last checkpoint redone during rollforward recovery, if we happen to crash during the roll-forward recovery process.
- doMe(Transaction, LogInstant, LimitObjectInput) - Method in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- Nothing to do for the checksum log record because it does need to be applied during redo.
E
- enableLogArchiveMode() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- enableLogArchiveMode() - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- encrypt(byte[], int, int, byte[], int) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- encryptionBuffer - Variable in class org.apache.derby.impl.store.raw.log.FileLogger
- endPosition - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- endPosition() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- equals(Object) - Method in class org.apache.derby.impl.store.raw.log.LogCounter
F
- FILE_NUMBER_SHIFT - Static variable in class org.apache.derby.impl.store.raw.log.LogCounter
- FILE_POSITION_MASK - Static variable in class org.apache.derby.impl.store.raw.log.LogCounter
- FORWARD - Static variable in class org.apache.derby.impl.store.raw.log.Scan
- FileLogger - class org.apache.derby.impl.store.raw.log.FileLogger.
- Write log records to a log file as a stream (ie.
- FileLogger(LogToFile) - Constructor for class org.apache.derby.impl.store.raw.log.FileLogger
- Make a new Logger with its own log record buffers MT - not needed for constructor
- FlushedScan - class org.apache.derby.impl.store.raw.log.FlushedScan.
- Scan the the log which is implemented by a series of log files.n This log scan knows how to move across log file if it is positioned at the boundary of a log file and needs to getNextRecord.
- FlushedScan(LogToFile, long) - Constructor for class org.apache.derby.impl.store.raw.log.FlushedScan
- FlushedScanHandle - class org.apache.derby.impl.store.raw.log.FlushedScanHandle.
- FlushedScanHandle(LogToFile, DatabaseInstant, int) - Constructor for class org.apache.derby.impl.store.raw.log.FlushedScanHandle
- fid - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- fileNumber - Variable in class org.apache.derby.impl.store.raw.log.LogCounter
- filePosition - Variable in class org.apache.derby.impl.store.raw.log.LogCounter
- findCheckpoint(long, FileLogger) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- firstLog - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- firstLogFileNumber - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- firstLogInstant() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Get the first valid log instant - this is the beginning of the first log file
- firstUnflushed - Variable in class org.apache.derby.impl.store.raw.log.FlushedScan
- firstUnflushedFileNumber - Variable in class org.apache.derby.impl.store.raw.log.FlushedScan
- firstUnflushedFilePosition - Variable in class org.apache.derby.impl.store.raw.log.FlushedScan
- flush(LogInstant) - Method in class org.apache.derby.impl.store.raw.log.FileLogger
- Flush the log up to the given log instant.
- flush(LogInstant) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Flush all unwritten log record up to the log instance indicated to disk and sync.
- flush(long, long) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Flush the log such that the log record written with the instant wherePosition is guaranteed to be on disk.
- flush(LogInstant) - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- flushAll() - Method in class org.apache.derby.impl.store.raw.log.FileLogger
- Flush all outstanding log to disk.
- flushAll() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Flush all unwritten log record to disk and sync.
- flushBuffer(long, long) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Flush all unwritten log record up to the log instance indicated to disk without syncing.
- flushDirtyBuffers() - Method in class org.apache.derby.impl.store.raw.log.LogAccessFile
- Write data from all dirty buffers into the log file.
- flushInProgress - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- flushLogAccessFile() - Method in class org.apache.derby.impl.store.raw.log.LogAccessFile
- formatLength - Static variable in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- formatLength - Static variable in class org.apache.derby.impl.store.raw.log.LogRecord
- formatOverhead() - Static method in class org.apache.derby.impl.store.raw.log.LogRecord
- freeBuffers - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- freezePersistentStore() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Backup restore - stop sending log record to the log stream
- freezePersistentStore() - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- Backup restore - stop sending log record to the log stream
- fs - Variable in class org.apache.derby.impl.store.raw.log.FlushedScanHandle
- fuzzyLogEnd - Variable in class org.apache.derby.impl.store.raw.log.Scan
G
- getCanonicalLogPath() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- getCanonicalLogPath() - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- getControlFileName() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Return the control file name
- getDataLength() - Method in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- Access attributes of the checksum log record
- getEncryptedDataLength(int) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- returns the length that will make the data to be multiple of encryption block size based on the given length.
- getEncryptionBlockSize() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- return the encryption block size used during encrypted db creation
- getFirstLogNeeded(CheckpointOperation) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- getFirstUnflushedInstant() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Get the instant of the first record which was not flushed.
- getFirstUnflushedInstant() - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- getGroup() - Method in class org.apache.derby.impl.store.raw.log.FlushedScanHandle
- Get the group for the current log record.
- getInstant() - Method in class org.apache.derby.impl.store.raw.log.FlushedScan
- Return the log instant (as an integer) the scan is currently on - this is the log instant of the log record that was returned by getNextRecord.
- getInstant() - Method in class org.apache.derby.impl.store.raw.log.FlushedScanHandle
- getInstant() - Method in class org.apache.derby.impl.store.raw.log.Scan
- Return the log instant (as an integer) the scan is currently on - this is the log instant of the log record that was returned by getNextRecord.
- getInstant() - Method in interface org.apache.derby.impl.store.raw.log.StreamLogScan
- Get the instant of the record just retrieved with getNextRecord().
- getLogDirPath(StorageFile) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- getLogDirectory() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- getLogDirectory() - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- getLogFactoryProperties(PersistentSet) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- getLogFactoryProperties(PersistentSet) - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- Get JBMS properties relavent to the log factory
- getLogFileAtBeginning(long) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Open a log file and position the file at the beginning.
- getLogFileAtPosition(long) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Get a read-only handle to the log file positioned at the stated position
- getLogFileName(long) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Given a log file number, return its file name
- getLogFileNumber(long) - Static method in class org.apache.derby.impl.store.raw.log.LogCounter
- getLogFileNumber() - Method in class org.apache.derby.impl.store.raw.log.LogCounter
- getLogFileNumber() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Return the current log file number.
- getLogFilePosition(long) - Static method in class org.apache.derby.impl.store.raw.log.LogCounter
- getLogFilePosition() - Method in class org.apache.derby.impl.store.raw.log.LogCounter
- getLogFileToSimulateCorruption(long) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Get the log file to Simulate a log corruption FOR UNIT TESTING USAGE ONLY
- getLogInstant() - Method in class org.apache.derby.impl.store.raw.log.FlushedScan
- Return the log instant the scan is currently on - this is the log instant of the log record that was returned by getNextRecord.
- getLogInstant() - Method in class org.apache.derby.impl.store.raw.log.Scan
- Return the log instant the scan is currently on - this is the log instant of the log record that was returned by getNextRecord.
- getLogInstant() - Method in interface org.apache.derby.impl.store.raw.log.StreamLogScan
- Get the LogInstant for the record just retrieved with getNextRecord().
- getLogRecordEnd() - Method in class org.apache.derby.impl.store.raw.log.FlushedScan
- Get the log instant that is right after the record just retrived
- getLogRecordEnd() - Method in class org.apache.derby.impl.store.raw.log.Scan
- Return the log instant at the end of the log record on the current LogFile in the form of a log instant
- getLogRecordEnd() - Method in interface org.apache.derby.impl.store.raw.log.StreamLogScan
- Get the log instant that is right after the record just retrieved with getNextRecord().
- getLogStorageFactory() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- getLoggable() - Method in class org.apache.derby.impl.store.raw.log.FlushedScanHandle
- Get the Loggable associated with the currentLogRecord
- getLoggable() - Method in class org.apache.derby.impl.store.raw.log.LogRecord
- getLogger() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- MT- not needed
- getLogger() - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- getMirrorControlFileName() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Return the mirror control file name
- getNextRecord(ArrayInputStream, TransactionId, int) - Method in class org.apache.derby.impl.store.raw.log.FlushedScan
- Read a log record into the byte array provided.
- getNextRecord(ArrayInputStream, TransactionId, int) - Method in class org.apache.derby.impl.store.raw.log.Scan
- Read the next log record.
- getNextRecord(ArrayInputStream, TransactionId, int) - Method in interface org.apache.derby.impl.store.raw.log.StreamLogScan
- Get the next record in the scan and place its data in the passed in array.
- getNextRecordBackward(ArrayInputStream, TransactionId, int) - Method in class org.apache.derby.impl.store.raw.log.Scan
- Read the previous log record.
- getNextRecordForward(ArrayInputStream, TransactionId, int) - Method in class org.apache.derby.impl.store.raw.log.Scan
- Read the next log record.
- getOptionalData() - Method in class org.apache.derby.impl.store.raw.log.FlushedScanHandle
- getPreparedLog() - Method in class org.apache.derby.impl.store.raw.log.CheckpointOperation
- the default for prepared log is always null for all the operations that don't have optionalData.
- getPreparedLog() - Method in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- the default for prepared log is always null for all the operations that don't have optionalData.
- getRePreparable() - Method in class org.apache.derby.impl.store.raw.log.LogRecord
- getStoredSize() - Method in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- getStoredSize(int, TransactionId) - Static method in class org.apache.derby.impl.store.raw.log.LogRecord
- getTransactionId() - Method in class org.apache.derby.impl.store.raw.log.FlushedScanHandle
- getTransactionId() - Method in class org.apache.derby.impl.store.raw.log.LogRecord
- getTransactionTable() - Method in class org.apache.derby.impl.store.raw.log.CheckpointOperation
- getTruncationLWM(UUID) - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- getTypeFormatId() - Method in class org.apache.derby.impl.store.raw.log.CheckpointOperation
- Return my format identifier.
- getTypeFormatId() - Method in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- Return my format identifier.
- getTypeFormatId() - Method in class org.apache.derby.impl.store.raw.log.LogCounter
- Get the formatID which corresponds to this class.
- getTypeFormatId() - Method in class org.apache.derby.impl.store.raw.log.LogRecord
- Return my format identifier.
- getTypeFormatId() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Return my format identifier.
- getUndoable() - Method in class org.apache.derby.impl.store.raw.log.LogRecord
- getValueAsLong() - Method in class org.apache.derby.impl.store.raw.log.LogCounter
- These following methods are only intended to be called by an implementation of a log factory.
- group() - Method in class org.apache.derby.impl.store.raw.log.CheckpointOperation
- Checkpoint is a raw store operation
- group() - Method in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- Checksum is a raw store operation
- group - Variable in class org.apache.derby.impl.store.raw.log.LogRecord
- group() - Method in class org.apache.derby.impl.store.raw.log.LogRecord
- groupsIWant - Variable in class org.apache.derby.impl.store.raw.log.FlushedScanHandle
H
- hashCode() - Method in class org.apache.derby.impl.store.raw.log.LogCounter
I
- INVALID_LOG_INSTANT - Static variable in class org.apache.derby.impl.store.raw.log.LogCounter
- A well defined value of an invalid log instant.
- IS_BETA_FLAG - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- IS_DURABILITY_TESTMODE_NO_SYNC_FLAG - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- When the derby.system.durability property is set to 'test', the store system will not force sync calls in the following cases - for the log file at each commit - for the log file before data page is forced to disk - for page allocation when file is grown - for data writes during checkpoint This means it is possible that the recovery system may not work properly, committed transactions may be lost, and/or database may not be in a consistent state.
- inCheckpoint - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- inLogSwitch - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- inRFR() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- inRFR() - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- inRedo - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- init() - Method in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- init(int) - Method in class org.apache.derby.impl.store.raw.log.LogAccessFileBuffer
- Private/Protected methods of This class:
- initLogFile(StorageRandomAccessFile, long, long) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Initialize the log to the correct format with the given version and log file number.
- initializeChecksumAlgo() - Method in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- input - Variable in class org.apache.derby.impl.store.raw.log.LogRecord
- isAbort() - Method in class org.apache.derby.impl.store.raw.log.LogRecord
- isCLR() - Method in class org.apache.derby.impl.store.raw.log.LogRecord
- isChecksum() - Method in class org.apache.derby.impl.store.raw.log.LogRecord
- isChecksumValid(byte[], int, int) - Method in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- isCommit() - Method in class org.apache.derby.impl.store.raw.log.LogRecord
- isComplete() - Method in class org.apache.derby.impl.store.raw.log.LogRecord
- isFirst() - Method in class org.apache.derby.impl.store.raw.log.LogRecord
- isFrozen - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- If frozen, don't allow anything on disk to change.
- isLogEndFuzzy() - Method in class org.apache.derby.impl.store.raw.log.FlushedScan
- returns true if there is partially writen log records before the crash in the last log file.
- isLogEndFuzzy() - Method in class org.apache.derby.impl.store.raw.log.Scan
- returns true if there is partially writen log records before the crash in the last log file.
- isLogEndFuzzy() - Method in interface org.apache.derby.impl.store.raw.log.StreamLogScan
- isPrepare() - Method in class org.apache.derby.impl.store.raw.log.LogRecord
- isWriteSynced - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- Note: Why logging system support file sync and write sync ? Note : The reason to support file and write sync of logs is there was no support to do write sync until jdk1.4 and then there was write sync jvm bug in jdk1.4.1, only in jdk1.4.2 write sync(rws mode) mechanism can be used corretly.
J
- jbmsVersion - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- Product Version information.
K
- keepAllLogs - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- knownGoodLogEnd - Variable in class org.apache.derby.impl.store.raw.log.Scan
L
- LOG_BUFFER_SIZE_MAX - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- LOG_BUFFER_SIZE_MIN - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- LOG_FILE_HEADER_PREVIOUS_LOG_INSTANT_OFFSET - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- LOG_FILE_HEADER_SIZE - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- LOG_NUMBER_LOG_BUFFERS - Static variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- LOG_RECORD_FIXED_OVERHEAD_SIZE - Static variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- The fixed size of a log record is 16 bytes: int length : 4 bytes long instant : 8 bytes int trailing length : 4 bytes
- LOG_RECORD_HEADER_SIZE - Static variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- LOG_RECORD_OVERHEAD - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- LOG_RECORD_TRAILER_SIZE - Static variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- LOG_REC_LEN_BYTE_LENGTH - Static variable in class org.apache.derby.impl.store.raw.log.FlushedScan
- LOG_SWITCH_INTERVAL_MAX - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- LOG_SWITCH_INTERVAL_MIN - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- LOG_SYNC_STATISTICS - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- LogAccessFile - class org.apache.derby.impl.store.raw.log.LogAccessFile.
- Wraps a RandomAccessFile file to provide buffering on log writes.
- LogAccessFile(LogToFile, StorageRandomAccessFile, int) - Constructor for class org.apache.derby.impl.store.raw.log.LogAccessFile
- LogAccessFileBuffer - class org.apache.derby.impl.store.raw.log.LogAccessFileBuffer.
- A single buffer of data.
- LogAccessFileBuffer(int) - Constructor for class org.apache.derby.impl.store.raw.log.LogAccessFileBuffer
- Constructors for This class:
- LogCounter - class org.apache.derby.impl.store.raw.log.LogCounter.
- A very simple log instant implementation.
- LogCounter(long) - Constructor for class org.apache.derby.impl.store.raw.log.LogCounter
- LogCounter(long, long) - Constructor for class org.apache.derby.impl.store.raw.log.LogCounter
- LogCounter() - Constructor for class org.apache.derby.impl.store.raw.log.LogCounter
- Public niladic constructor needed for Formatable interface.
- LogRecord - class org.apache.derby.impl.store.raw.log.LogRecord.
- The log record written out to disk.
- LogRecord() - Constructor for class org.apache.derby.impl.store.raw.log.LogRecord
- LogToFile - class org.apache.derby.impl.store.raw.log.LogToFile.
- This is an implementation of the log using a non-circular file system file.
- LogToFile() - Constructor for class org.apache.derby.impl.store.raw.log.LogToFile
- MT- not needed for constructor
- lastFlush - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- length - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFileBuffer
- lessThan(DatabaseInstant) - Method in class org.apache.derby.impl.store.raw.log.LogCounter
- LogScan methods
- lf - Variable in class org.apache.derby.impl.store.raw.log.FlushedScanHandle
- log - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- logAndDo(RawTransaction, Loggable) - Method in class org.apache.derby.impl.store.raw.log.FileLogger
- Writes out a log record to the log stream, and call its doMe method to apply the change to the rawStore.
- logAndUndo(RawTransaction, Compensation, LogInstant, LimitObjectInput) - Method in class org.apache.derby.impl.store.raw.log.FileLogger
- Writes out a compensation log record to the log stream, and call its doMe method to undo the change of a previous log operation.
- logArchiveDirectory - Variable in class org.apache.derby.impl.store.raw.log.ReadOnly
- logArchived - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- logArchived() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Backup restore - is the log being archived to some directory? if log archive mode is enabled return true else false
- logArchived() - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- Backup restore - is the log being archived to some directory? if RawStore.LOG_ARCHIVAL_DIRECTORY is set to some value, that means the log is meant to be archived.
- logBeingFlushed - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- logBufferSize - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- logDevice - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- logErrMsg(String) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Print error message to user about the log MT - not needed, informational only
- logErrMsg(Throwable) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Print error message to user about the log MT - not needed, informational only
- logErrMsgForDurabilityTestModeNoSync() - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- In case of boot errors, and if database is either booted with derby.system.durability=test or was previously at any time booted in this mode, mention in the error message that the error is probably because the derby.system.durability was set.
- logFactory - Variable in class org.apache.derby.impl.store.raw.log.FileLogger
- logFactory - Variable in class org.apache.derby.impl.store.raw.log.FlushedScan
- logFactory - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- logFactory - Variable in class org.apache.derby.impl.store.raw.log.Scan
- logFileNumber - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- logFileSemaphore - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- logIn - Variable in class org.apache.derby.impl.store.raw.log.FileLogger
- logNotSynced - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- logOut - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- logOutputBuffer - Variable in class org.apache.derby.impl.store.raw.log.FileLogger
- logOutputBuffer - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- logRecord - Variable in class org.apache.derby.impl.store.raw.log.FileLogger
- logStorageFactory - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- logSwitchInterval - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- logSwitchRequired - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- logWrittenFromLastCheckPoint - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- logicalOut - Variable in class org.apache.derby.impl.store.raw.log.FileLogger
- logicalOut - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- logtest_appendPartialLogRecord(byte[], int, int, byte[], int, int) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Writes out a partial log record - takes the appendLogRecord.
- lr - Variable in class org.apache.derby.impl.store.raw.log.FlushedScanHandle
M
- MAX_LOGFILE_NUMBER - Static variable in class org.apache.derby.impl.store.raw.log.LogCounter
- MAX_LOGFILE_SIZE - Static variable in class org.apache.derby.impl.store.raw.log.LogCounter
- makeLogInstantAsLong(long, long) - Static method in class org.apache.derby.impl.store.raw.log.LogCounter
- Static functions that can only be used inside the RawStore's log factory which passes the log counter around encoded as a long
- markCorrupt(StandardException) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Once the log factory is makred as corrupt then the raw sto
- markCorrupt(StandardException) - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- maxGroupStoredSize() - Static method in class org.apache.derby.impl.store.raw.log.LogRecord
- maxLogFileNumber - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- maxTransactionIdStoredSize(TransactionId) - Static method in class org.apache.derby.impl.store.raw.log.LogRecord
- mon_LogSyncStatistics - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- mon_flushCalls - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- mon_numBytesToLog - Static variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- mon_numBytesToLog - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- mon_numLogFlushWaits - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- mon_numWritesToLog - Static variable in class org.apache.derby.impl.store.raw.log.LogAccessFile
- mon_syncCalls - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- myClientNumber - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
N
- needsRedo(Transaction) - Method in class org.apache.derby.impl.store.raw.log.CheckpointOperation
- Checkpoint does not need to be redone unless we are doing rollforward recovery.
- needsRedo(Transaction) - Method in class org.apache.derby.impl.store.raw.log.ChecksumOperation
- Checksum does not need to be redone, it is used to just verify that log records are written completely.
- next() - Method in class org.apache.derby.impl.store.raw.log.FlushedScanHandle
- next - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFileBuffer
- next() - Method in class org.apache.derby.impl.store.raw.log.LogCounter
- nextRecordLength - Variable in class org.apache.derby.impl.store.raw.log.FlushedScan
- The length of the next record.
O
- OBSOLETE_LOG_VERSION_NUMBER - Static variable in class org.apache.derby.impl.store.raw.log.LogToFile
- onDiskBeta - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- onDiskMajorVersion - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- On disk database version information.
- onDiskMinorVersion - Variable in class org.apache.derby.impl.store.raw.log.LogToFile
- op - Variable in class org.apache.derby.impl.store.raw.log.LogRecord
- open - Variable in class org.apache.derby.impl.store.raw.log.FlushedScan
- openBackwardsScan(long, LogInstant) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Scan backward from start position.
- openBackwardsScan(LogInstant) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Scan backward from end of log.
- openFlushedScan(DatabaseInstant, int) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- openFlushedScan(DatabaseInstant, int) - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- openForwardsFlushedScan(LogInstant) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Open a forward scan of the transaction log.
- openForwardsFlushedScan(LogInstant) - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- openForwardsScan(long, LogInstant) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Scan Forward from start position.
- openForwardsScan(LogInstant, LogInstant) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- Get a forwards scan
- openForwardsScan(LogInstant, LogInstant) - Method in class org.apache.derby.impl.store.raw.log.ReadOnly
- openLogFileInWriteMode(StorageFile) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- org.apache.derby.impl.store.raw.log - package org.apache.derby.impl.store.raw.log
P
- performWork(ContextManager) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- position - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFileBuffer
- positionToNextRecord() - Method in class org.apache.derby.impl.store.raw.log.FlushedScan
- preAllocateNewLogFile(StorageRandomAccessFile) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- prev - Variable in class org.apache.derby.impl.store.raw.log.LogAccessFileBuffer
- printErrorStack(Throwable) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- print stack trace from the Throwable including its nested exceptions
- prior() - Method in class org.apache.derby.impl.store.raw.log.LogCounter
- privCanWrite(StorageFile) - Method in class org.apache.derby.impl.store.raw.log.LogToFile
- privCopyFile(StorageFile, File) - Method in class org.apache.derby.impl.store.raw.log.LogToFile