18 #ifndef FOEDUS_CACHE_SNAPSHOT_FILE_SET_HPP_
19 #define FOEDUS_CACHE_SNAPSHOT_FILE_SET_HPP_
84 std::map<snapshot::SnapshotId, std::map< thread::ThreadGroupId, fs::DirectIoFile* > > files_;
88 #endif // FOEDUS_CACHE_SNAPSHOT_FILE_SET_HPP_
ErrorStack uninitialize_once() override
Forward declarations of classes in filesystem package.
Definitions of IDs in this package and a few related constant values.
ErrorCode read_page(storage::SnapshotPagePointer page_id, void *out)
Typedefs of ID types used in snapshot package.
Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
Typedefs of ID types used in thread package.
Forward declarations of classes in root package.
Brings error stacktrace information as return value of functions.
Typical implementation of Initializable as a skeleton base class.
Holds a set of read-only file objects for snapshot files.
Forward declarations of classes in storage package.
#define CXX11_FINAL
Used in public headers in place of "final" of C++11.
friend std::ostream & operator<<(std::ostream &o, const SnapshotFileSet &v)
uint64_t SnapshotPagePointer
Page ID of a snapshot page.
Database engine object that holds all resources and provides APIs.
ErrorStack initialize_once() override
uint16_t extract_snapshot_id_from_snapshot_pointer(SnapshotPagePointer pointer)
ErrorCode read_pages(storage::SnapshotPagePointer page_id_begin, uint32_t page_count, void *out)
Read contiguous pages in one shot.
uint8_t extract_numa_node_from_snapshot_pointer(SnapshotPagePointer pointer)
uint16_t SnapshotId
Unique ID of Snapshot.
#define CXX11_OVERRIDE
Used in public headers in place of "override" of C++11.
#define CXX11_FUNC_DELETE
Used in public headers in place of " = delete" of C++11.
ErrorCode get_or_open_file(storage::SnapshotPagePointer page_pointer, fs::DirectIoFile **out)
Represents an I/O stream on one file without filesystem caching.
uint8_t ThreadGroupId
Typedef for an ID of ThreadGroup (NUMA node).
ErrorCode
Enum of error codes defined in error_code.xmacro.