OmniSciDB
a5dc49c757
|
#include <Epoch.h>
Public Member Functions | |
Epoch () | |
Epoch (const int32_t epoch_floor, const int32_t epoch_ceiling) | |
int32_t | floor () const |
int32_t | ceiling () const |
void | floor (const int32_t epoch_floor) |
void | ceiling (const int32_t epoch_ceiling) |
int32_t | increment () |
int8_t * | storage_ptr () |
Static Public Member Functions | |
static size_t | byte_size () |
static int64_t | min_allowable_epoch () |
static int64_t | max_allowable_epoch () |
Private Attributes | |
int64_t | epoch_storage [2] |
|
inline |
|
inline |
|
inlinestatic |
Definition at line 63 of file Epoch.h.
Referenced by File_Namespace::FileMgr::createEpochFile(), File_Namespace::FileMgr::openAndReadEpochFile(), File_Namespace::TableFileMgr::TableFileMgr(), File_Namespace::TableFileMgr::writeAndSyncEpochToDisk(), and File_Namespace::FileMgr::writeAndSyncEpochToDisk().
|
inline |
Definition at line 44 of file Epoch.h.
References epoch_storage.
Referenced by File_Namespace::FileMgr::FileMgr(), File_Namespace::TableFileMgr::getEpoch(), File_Namespace::TableFileMgr::incrementEpoch(), File_Namespace::FileMgr::init(), File_Namespace::FileMgr::migrateEpochFileV0(), File_Namespace::FileMgr::openFiles(), and File_Namespace::FileMgr::setEpoch().
|
inline |
|
inline |
Definition at line 43 of file Epoch.h.
References epoch_storage.
Referenced by File_Namespace::FileMgr::init(), File_Namespace::FileMgr::migrateEpochFileV0(), File_Namespace::FileMgr::rollOffOldData(), and File_Namespace::FileMgr::setEpoch().
|
inline |
|
inline |
Definition at line 54 of file Epoch.h.
References epoch_storage.
Referenced by File_Namespace::TableFileMgr::incrementEpoch().
|
inlinestatic |
Definition at line 69 of file Epoch.h.
Referenced by File_Namespace::TableFileMgr::incrementEpoch(), and File_Namespace::FileMgr::incrementEpoch().
|
inlinestatic |
Definition at line 65 of file Epoch.h.
Referenced by File_Namespace::CachingFileMgr::epoch(), and File_Namespace::FileMgr::migrateEpochFileV0().
|
inline |
Allows access to ptr to epoch internal storage for atomic file reads and writes to epoch storage
Definition at line 61 of file Epoch.h.
References epoch_storage.
Referenced by File_Namespace::FileMgr::openAndReadEpochFile(), File_Namespace::TableFileMgr::TableFileMgr(), File_Namespace::TableFileMgr::writeAndSyncEpochToDisk(), and File_Namespace::FileMgr::writeAndSyncEpochToDisk().
|
private |
Definition at line 74 of file Epoch.h.
Referenced by ceiling(), Epoch(), floor(), increment(), and storage_ptr().