18 #ifndef FOEDUS_STORAGE_SEQUENTIAL_SEQUENTIAL_COMPOSER_IMPL_HPP_
19 #define FOEDUS_STORAGE_SEQUENTIAL_SEQUENTIAL_COMPOSER_IMPL_HPP_
37 namespace sequential {
85 uint32_t allocated_pages,
86 uint64_t* total_pages);
95 #endif // FOEDUS_STORAGE_SEQUENTIAL_SEQUENTIAL_COMPOSER_IMPL_HPP_
Definitions of IDs in this package and a few related constant values.
char filler_[kPageSize-sizeof(PageHeader)-sizeof(HeadPagePointer)]
Represents a logic to compose a new version of data pages for one storage.
uint32_t StorageId
Unique ID for storage.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Composer for an sequential storage.
Composer::DropResult drop_volatiles(const Composer::DropVolatilesArguments &args)
Forward declarations of classes in root package.
Brings error stacktrace information as return value of functions.
Forward declarations of classes in snapshot manager package.
Represents one data page in Sequential Storage.
Each pointer to a snapshot head page comes with a bit more information to help reading.
Forward declarations of classes in sequential storage package.
Output of one compose() call, which are then combined in construct_root().
std::string to_string() const
Database engine object that holds all resources and provides APIs.
ErrorStack compose(const Composer::ComposeArguments &args)
Retrun value of drop_volatiles()
Forward declarations of classes in memory package.
ErrorStack construct_root(const Composer::ConstructRootArguments &args)
SequentialComposer(Composer *parent)
const uint16_t kPageSize
A constant defining the page size (in bytes) of both snapshot pages and volatile pages.
Arguments for drop_volatiles()
Writes out one snapshot file for all data pages in one reducer.
Arguments for construct_root()