18 #ifndef FOEDUS_ENGINE_OPTIONS_HPP_
19 #define FOEDUS_ENGINE_OPTIONS_HPP_
81 EngineOptions&
operator=(
const EngineOptions& other);
111 uint64_t required_total_safe_bytes,
113 std::ostream* details_out)
const;
117 uint64_t required_shared_safe_bytes,
119 std::ostream* details_out)
const;
152 #endif // FOEDUS_ENGINE_OPTIONS_HPP_
Set of options about threads and thread-groups.
Represents an object that can be written to and read from files/bytes in XML format.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
void prescreen_ulimits(uint64_t required_total_safe_bytes, bool *has_any_error, std::ostream *details_out) const
Subroutine of prescreen to check ulimit values.
Set of options for log manager.
#define EXTERNALIZABLE(clazz)
Macro to declare/define essential methods for an externalizable class.
debugging::DebuggingOptions debugging_
Brings error stacktrace information as return value of functions.
EngineOptions()
Constructs option values with default values.
ErrorStack prescreen(std::ostream *details_out) const
Checks the machine environment and raises as many errors as possible before the engine starts up...
Set of options for xct manager.
memory::MemoryOptions memory_
storage::StorageOptions storage_
#define CXX11_FINAL
Used in public headers in place of "final" of C++11.
void prescreen_sysctl(uint64_t required_shared_safe_bytes, bool *has_any_error, std::ostream *details_out) const
Subroutine of prescreen to check sysctl values.
snapshot::SnapshotOptions snapshot_
savepoint::SavepointOptions savepoint_
restart::RestartOptions restart_
Set of options for memory manager.
static uint64_t get_available_hugepage_memory(std::ostream *details_out)
A utility method to check how much hugepage memory is currently available.
Set of option values given to the engine at start-up.
Set of options for snapshot cache manager.
Set of options for storage manager.
Set of options for snapshot manager.
static uint64_t read_int_from_proc_fs(const char *path, std::ostream *details_out)
A utility method to read /proc/ value in linux.
thread::ThreadOptions thread_
void calculate_required_memory(uint64_t *shared_bytes, uint64_t *local_bytes) const
Set of options for loading system/user procedures.
Set of options for SOC manager.
Set of options for savepoint manager.
Set of options for restart manager.
Set of options for debugging support.
EngineOptions & operator=(const EngineOptions &other)
cache::CacheOptions cache_