autotier
Automatic Tiering Fuse Filesystem
|
50 std::shared_ptr<rocksdb::DB>
get_db(
void);
TierEngineDatabase(const fs::path &config_path, const ConfigOverrides &config_overrides)
Construct a new Tier Engine Database object Calls open_db().
Definition: database.cpp:30
Definition: config.hpp:65
Base class of TierEngine. Deals with calling config_ constructor and holds onto some members used in ...
Definition: base.hpp:37
~TierEngineDatabase(void)
Destroy the Tier Engine Database object Deletes (closes) the rocksdb database.
Definition: database.cpp:36
TierEngine component for dealing with the rocksdb database.
Definition: database.hpp:28
std::shared_ptr< rocksdb::DB > get_db(void)
Get the database pointer. Used in fusePassthrough.cpp for getting file.
Definition: database.cpp:38
void open_db(void)
Opens RocksDB database. Calls TierEngineTiering::exit() (virtual TierEngineBase method) if it fails.
Definition: database.cpp:42