ErrorStack local_register(const ProcAndName &proc_and_name)
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
ErrorStack emulated_register(const ProcAndName &proc_and_name)
Register a function pointer as a user procedure in all SOCs, assuming that child SOCs are of kChildEm...
ErrorStack uninitialize() override final
Typical implementation of Initializable::uninitialize() that provides uninitialize-once semantics...
Brings error stacktrace information as return value of functions.
ErrorStack pre_register(const ProcAndName &proc_and_name)
ErrorStack uninitialize() override
An idempotent method to release all resources of this object, if any.
std::string describe_registered_procs() const
For debug uses only.
bool is_initialized() const override
Returns whether the object has been already initialized or not.
ErrorStack initialize() override final
Typical implementation of Initializable::initialize() that provides initialize-once semantics...
Database engine object that holds all resources and provides APIs.
ErrorStack initialize() override
Acquires resources in this object, usually called right after constructor.
Typedefs of ID types used in procedure package.
std::string describe_registered_procs() const
std::pair< ProcName, Proc > ProcAndName
ErrorStack get_proc(const ProcName &name, Proc *out)
const std::vector< ProcAndName > & get_pre_registered_procedures() const
Returns procedures given to pre_register()
ErrorStack emulated_register(const ProcAndName &proc_and_name)
ErrorStack pre_register(const ProcAndName &proc_and_name)
Pre-register a function pointer as a user procedure so that all SOCs will have it when they are forke...
ErrorStack get_proc(const ProcName &name, Proc *out)
Returns the function pointer of the specified procedure.
ErrorStack local_register(const ProcAndName &proc_and_name)
Register a function pointer as a user procedure in the current SOC.
ErrorStack(* Proc)(const ProcArguments &args)
A function pointer of a user/system stored procedure.
Pimpl object of ProcManager.
bool is_initialized() const override final
Returns whether the object has been already initialized or not.
std::vector< ProcAndName > pre_registered_procs_