18 #ifndef FOEDUS_ENGINE_PIMPL_HPP_
19 #define FOEDUS_ENGINE_PIMPL_HPP_
128 std::vector< ModulePtr > modules;
150 static ErrorStack check_transparent_hugepage_setting();
154 #endif // FOEDUS_ENGINE_PIMPL_HPP_
EngineOptions options_
Options given at boot time.
debugging::DebuggingSupports debug_
Debugging supports.
storage::StorageManager storage_manager_
The pure-virtual interface to initialize/uninitialize non-trivial resources.
void on_module_initialized(ModuleType module)
Called whenever each module has completed its initialization.
void on_module_uninitialized(ModuleType module)
Called whenever each module has completed its uninitialization.
ErrorStack check_valid_options()
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
restart::RestartManager restart_manager_
ErrorStack initialize_once() override
Forward declarations of classes in root package.
Brings error stacktrace information as return value of functions.
Typedefs of ID types used in SOC package.
Typical implementation of Initializable as a skeleton base class.
soc::SocManager soc_manager_
SOC manager.
Procedure manager, which maintains the list of system/user procedures.
snapshot::SnapshotManager snapshot_manager_
std::vector< ModulePtr > get_modules()
Returns in initialization order.
proc::ProcManager proc_manager_
Snapshot manager that atomically and durably writes out a snapshot file.
std::string describe_short() const
ModuleType
Enumerates modules in FOEDUS engine.
savepoint::SavepointManager savepoint_manager_
ModulePtr(Initializable *ptr, ModuleType type)
thread::ThreadPool thread_pool_
Database engine object that holds all resources and provides APIs.
xct::XctManager xct_manager_
Set of option values given to the engine at start-up.
EngineType
Type of an engine instance of how to launch it.
cache::CacheManager cache_manager_
Xct Manager class that provides API to begin/abort/commit transaction.
Engine *const engine_
Pointer to the enclosing object.
uint64_t Upid
Universal (or Unique) ID of a process.
memory::EngineMemory memory_manager_
Log Manager class that provides API to write/read transaction logs.
The central instance that launches child engines on each NUMA node (SOC).
const soc::Upid master_upid_
pair of module pointer and its type.
log::LogManager log_manager_
uint16_t SocId
Represents an ID of an SOC, or NUMA node.
Storage Manager class that provides API to create/open/close/drop key-value stores.
ErrorStack initialize_modules()
uint64_t Eid
An Engine ID to differentiate two Engine objects instantiated in the same process.
SOC manager, which maintains the shared resource across SOCs and, if this engine is a master engine...
ErrorStack uninitialize_once() override
APIs to support debugging functionalities.
Repository of all memories dynamically acquired and shared within one database engine.
Restart manager, which recovers the state of database by invoking log-gleaner at start-up.
The pool of pre-allocated threads in the engine to execute transactions.
Savepoint manager that atomically and durably writes out a savepoint file.