libfoedus-core
FOEDUS Core Library
|
Log Manager, which writes out transactional logs. More...
Log Manager, which writes out transactional logs.
This package contains classes that control transactional logging.
![]() |
Modules | |
Log Types | |
Defines the content and apply logic of transactional operatrions. | |
Files | |
file | common_log_types.hpp |
Declares common log types used in all packages. | |
file | fwd.hpp |
Forward declarations of classes in log manager package. | |
file | log_id.hpp |
Typedefs of ID types used in log package. | |
Classes | |
struct | foedus::log::FillerLogType |
A dummy log type to fill up a sector in log files. More... | |
struct | foedus::log::EpochMarkerLogType |
A log type to declare a switch of epoch in a logger or the engine. More... | |
struct | foedus::log::EpochHistory |
Represents an event where a logger switched its epoch. More... | |
struct | foedus::log::LogRange |
a contiguous range of log entries that might span multiple files. More... | |
class | foedus::log::LogManager |
Log Manager class that provides API to write/read transaction logs. More... | |
class | foedus::log::LogManagerPimpl |
Pimpl object of LogManager. More... | |
struct | foedus::log::LogOptions |
Set of options for log manager. More... | |
class | foedus::log::Logger |
A log writer that writes out buffered logs to stable storages. More... | |
class | foedus::log::LoggerRef |
A view of Logger object for other SOCs and master engine. More... | |
class | foedus::log::MetaLogBuffer |
A single log buffer for metadata (eg create/drop storage). More... | |
class | foedus::log::MetaLogger |
A log writer for metadata operation. More... | |
struct | foedus::log::ThreadEpockMark |
A thread-buffer's epoch marker, which indicates where a thread switched an epoch. More... | |
struct | foedus::log::ThreadLogBufferMeta |
Metadata part of ThreadLogBuffer, without the actual buffer which is way way larger. More... | |
struct | foedus::log::ThreadLogBuffer::OffsetRange |
class | foedus::log::ThreadLogBuffer |
A thread-local log buffer. More... | |
Typedefs | |
typedef uint16_t | foedus::log::LoggerId |
Typedef for an ID of Logger. More... | |
typedef uint32_t | foedus::log::LogFileOrdinal |
Ordinal of log files (eg "log.0", "log.1"). More... | |
Ordinal of log files (eg "log.0", "log.1").
Each logger outputs log files whose filename is suffixed with an ordinal. Each log file
Definition at line 46 of file log_id.hpp.
Typedef for an ID of Logger.
ID of Logger is merely an ordinal without holes. In other words, "(loggers_per_node * NUMA_node_id) + ordinal_in_node".
Definition at line 36 of file log_id.hpp.