Class Innodb::LSN
In: lib/innodb/lsn.rb
Parent: Object

A Log Sequence Number and its byte offset into the log group.

Methods

advance   delta   location   new   record?   reposition  

Constants

LOG_HEADER_SIZE = Innodb::Log::LOG_HEADER_SIZE   Short alias for the size of a log file header.
LOG_BLOCK_SIZE = Innodb::LogBlock::BLOCK_SIZE   Short aliases for the sizes of the subparts of a log block.
LOG_BLOCK_HEADER_SIZE = Innodb::LogBlock::HEADER_SIZE
LOG_BLOCK_TRAILER_SIZE = Innodb::LogBlock::TRAILER_SIZE
LOG_BLOCK_DATA_SIZE = Innodb::LogBlock::DATA_SIZE
LOG_BLOCK_FRAME_SIZE = LOG_BLOCK_HEADER_SIZE + LOG_BLOCK_TRAILER_SIZE

External Aliases

lsn_no -> no
  Alias :lsn_no attribute.

Attributes

lsn_no  [R]  The Log Sequence Number.

Public Class methods

Initialize coordinates.

Public Instance methods

Advance by a given LSN amount.

Returns the LSN delta for the given amount of data.

Returns the location coordinates of this LSN.

Whether LSN might point to log record data.

[Validate]