55 "String pattern of ';'-separated path of shared libraries to load in each NUMA node.\n"
56 " The default value is empty, which means we don't load any shared libraries.\n"
57 " If non-empty, we load the shared libraries of the path to register user-defined procedures.\n"
58 " A placeholder '$NODE$' is replaced with the NUMA node number.");
60 "';'-separated path of directories that contain shared libaries to load.\n"
61 " Similar to shared_library_path_pattern_. The difference is that all '.so' files under"
62 " the directory is loaded. The default value is empty.");
#define EXTERNALIZE_LOAD_ELEMENT(element, attribute)
Reads a child xml element to load a member variable of this object.
ErrorStack save(tinyxml2::XMLElement *element) const override
Writes the content of this object to the given XML element.
Default value for max_proc_count_.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Brings error stacktrace information as return value of functions.
ProcOptions()
Constructs option values with default values.
static ErrorStack insert_comment(tinyxml2::XMLElement *element, const std::string &comment)
fs::FixedPath shared_library_dir_pattern_
String pattern of ';'-separated path of directories that contain shared libaries to load...
ErrorStack load(tinyxml2::XMLElement *element) override
Reads the content of this object from the given XML element.
std::string replace_all(const std::string &target, const std::string &search, const std::string &replacement)
target.replaceAll(search, replacement).
std::string convert_shared_library_dir_pattern(int node) const
converts shared_library_dir_pattern_ into a string with the given node ID.
fs::FixedPath shared_library_path_pattern_
String pattern of ';'-separated path of shared libraries to load in each NUMA node.
std::basic_string< CHAR > str() const
Convert to a std::string object.
#define CHECK_ERROR(x)
This macro calls x and checks its returned value.
std::string convert_shared_library_path_pattern(int node) const
converts shared_library_path_pattern_ into a string with the given node ID.
const ErrorStack kRetOk
Normal return value for no-error case.
#define EXTERNALIZE_SAVE_ELEMENT(element, attribute, comment)
Adds an xml element to represent a member variable of this object.
uint32_t max_proc_count_
Maximum number of system/user procedures.