storage::PartitionerMetadata * partitioner_metadata_
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
void * partitioner_data_
Data block to place detailed information of partitioners.
GlobalMemoryAnchors * get_global_memory_anchors()
Epoch valid_until_epoch_
This snapshot contains all the logs until this epoch.
Engine * engine_
Most attachable object stores an engine pointer (local engine), so we define it here.
uint16_t increment_completed_mapper_count()
uint16_t increment_error_count()
LogGleanerControlBlock gleaner_
Gleaner-related variables.
uint16_t get_reducers_count() const
storage::PartitionerMetadata * partitioner_metadata_
Tiny metadata memory for partitioners.
LogGleanerControlBlock * control_block_
The shared data on shared memory that has been initialized in some SOC or master engine.
bool is_all_mappers_completed() const
SnapshotId id_
Unique ID of this snapshot.
bool is_all_completed() const
SnapshotId get_snapshot_id() const
Database engine object that holds all resources and provides APIs.
uint16_t increment_exit_count()
Represents one snapshot that converts all logs from base epoch to valid_until epoch into snapshot fil...
Epoch get_valid_until_epoch() const
Attachable Resources on Shared Memory.
uint16_t SnapshotId
Unique ID of Snapshot.
Epoch get_base_epoch() const
Just a set of pointers within global_memory_ for ease of use.
snapshot::SnapshotManagerControlBlock * snapshot_manager_memory_
Tiny memory for snapshot manager.
uint16_t increment_completed_count()
bool is_all_exitted() const
Epoch base_epoch_
This snapshot was taken on top of previous snapshot that is valid_until this epoch.
const Snapshot & get_cur_snapshot() const
soc::SocManager * get_soc_manager() const
See SOC and IPC.
uint16_t get_all_count() const
uint16_t get_mappers_count() const
Shared data for LogGleaner.
#define ASSERT_ND(x)
A warning-free wrapper macro of assert() that has no performance effect in release mode even when 'x'...
SharedMemoryRepo * get_shared_memory_repo()
Returns the shared memories maintained across SOCs.