libfoedus-core
FOEDUS Core Library
snapshot_id.hpp File Reference

Typedefs of ID types used in snapshot package. More...

Detailed Description

Typedefs of ID types used in snapshot package.

Definition in file snapshot_id.hpp.

#include <stdint.h>
#include "foedus/assert_nd.hpp"
Include dependency graph for snapshot_id.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 foedus
 Root package of FOEDUS (Fast Optimistic Engine for Data Unification Services).
 
 foedus::snapshot
 Snapshot Manager, which manages snapshot files of the database.
 

Typedefs

typedef uint16_t foedus::snapshot::SnapshotId
 Unique ID of Snapshot. More...
 
typedef uint32_t foedus::snapshot::BufferPosition
 Represents a position in some buffer. More...
 

Functions

SnapshotId foedus::snapshot::increment (SnapshotId id)
 Increment SnapshotId. More...
 
BufferPosition foedus::snapshot::to_buffer_position (uint64_t byte_position)
 
uint64_t foedus::snapshot::from_buffer_position (BufferPosition buffer_position)
 

Variables

const SnapshotId foedus::snapshot::kNullSnapshotId = 0