18 #ifndef FOEDUS_RESTART_RESTART_MANAGER_HPP_
19 #define FOEDUS_RESTART_RESTART_MANAGER_HPP_
55 #endif // FOEDUS_RESTART_RESTART_MANAGER_HPP_
The pure-virtual interface to initialize/uninitialize non-trivial resources.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Forward declarations of classes in root package.
Brings error stacktrace information as return value of functions.
RestartManager & operator=(const RestartManager &)=delete
Forward declarations of classes in restart package.
Pimpl object of RestartManager.
#define CXX11_FINAL
Used in public headers in place of "final" of C++11.
Database engine object that holds all resources and provides APIs.
#define CXX11_OVERRIDE
Used in public headers in place of "override" of C++11.
#define CXX11_FUNC_DELETE
Used in public headers in place of " = delete" of C++11.
ErrorStack uninitialize() override
An idempotent method to release all resources of this object, if any.
ErrorStack initialize() override
Acquires resources in this object, usually called right after constructor.
bool is_initialized() const override
Returns whether the object has been already initialized or not.
Restart manager, which recovers the state of database by invoking log-gleaner at start-up.