18 #ifndef FOEDUS_SNAPSHOT_MAPREDUCE_BASE_IMPL_HPP_
19 #define FOEDUS_SNAPSHOT_MAPREDUCE_BASE_IMPL_HPP_
64 virtual std::string
to_string()
const = 0;
93 #endif // FOEDUS_SNAPSHOT_MAPREDUCE_BASE_IMPL_HPP_
MapReduceBase & operator=(const MapReduceBase &other)=delete
uint16_t get_numa_node() const
ErrorCode check_cancelled() const
Derived class's handle_process() should occasionally call this to exit if it's cancelled.
void launch_thread()
Start executing.
Forward declarations of classes in log manager package.
Typedefs of ID types used in snapshot package.
LogGleanerRef * get_parent()
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.
Forward declarations of classes in snapshot manager package.
Typical implementation of Initializable as a skeleton base class.
std::atomic< bool > running_
only for sanity check
Typedefs of ID types used in log package.
Database engine object that holds all resources and provides APIs.
const uint16_t id_
Unique ID of this mapper or reducer.
A remote view of LogGleaner from all engines.
const uint16_t numa_node_
Base class for LogMapper and LogReducer to share common code.
virtual ErrorStack handle_process()=0
Implements the specific logics in derived class.
Forward declarations of classes in thread package.
ErrorCode
Enum of error codes defined in error_code.xmacro.
virtual std::string to_string() const =0
Expects "LogReducer-x", "LogMapper-y" etc.