Class File_Namespace::TableFileMgr¶
-
class
TableFileMgr
¶ Public Functions
-
TableFileMgr
(const std::string &table_path)¶
-
~TableFileMgr
()¶
-
void
incrementEpoch
()¶ increment the epoch for this subdir (not synced to disk).
-
void
writeAndSyncEpochToDisk
()¶ Write and flush the epoch to the epoch file on disk.
-
int32_t
getEpoch
() const¶ Returns the current epoch (locked)
-
void
removeDiskContent
() const¶ Removes all disk data for the subdir.
-
size_t
getReservedSpace
() const¶ Returns the disk space used (in bytes) for the subdir.
-
void
deleteWrapperFile
() const¶ Deletes only the wrapper file on disk.
-
void
writeWrapperFile
(const std::string &doc) const¶ Writes wrapper file to disk.
-