OmniSciDB
c1a53651b2
|
#include <CachingFileMgr.h>
Public Member Functions | |
bool | isEnabledForMutableTables () const |
bool | isEnabledForFSI () const |
bool | isEnabled () const |
std::string | dump () const |
std::string | levelAsString () const |
Static Public Member Functions | |
static std::string | getDefaultPath (const std::string &base_path) |
Public Attributes | |
std::string | path |
DiskCacheLevel | enabled_level = DiskCacheLevel::none |
size_t | num_reader_threads = 0 |
size_t | size_limit = DEFAULT_MAX_SIZE |
size_t | page_size = DEFAULT_PAGE_SIZE |
Static Public Attributes | |
static constexpr size_t | DEFAULT_MAX_SIZE |
Definition at line 41 of file CachingFileMgr.h.
|
inline |
Definition at line 59 of file CachingFileMgr.h.
References levelAsString(), num_reader_threads, page_size, path, and size_limit.
|
inlinestatic |
Definition at line 79 of file CachingFileMgr.h.
References shared::kDefaultDiskCacheDirName.
Referenced by loadGeo().
|
inline |
Definition at line 58 of file CachingFileMgr.h.
References enabled_level, and File_Namespace::none.
Referenced by PersistentStorageMgr::PersistentStorageMgr().
|
inline |
Definition at line 55 of file CachingFileMgr.h.
References File_Namespace::all, enabled_level, and File_Namespace::fsi.
Referenced by PersistentStorageMgr::PersistentStorageMgr().
|
inline |
Definition at line 51 of file CachingFileMgr.h.
References File_Namespace::all, enabled_level, and File_Namespace::non_fsi.
Referenced by PersistentStorageMgr::PersistentStorageMgr().
|
inline |
Definition at line 66 of file CachingFileMgr.h.
References File_Namespace::all, enabled_level, File_Namespace::fsi, File_Namespace::non_fsi, and File_Namespace::none.
Referenced by dump().
|
static |
Definition at line 44 of file CachingFileMgr.h.
DiskCacheLevel File_Namespace::DiskCacheConfig::enabled_level = DiskCacheLevel::none |
Definition at line 47 of file CachingFileMgr.h.
Referenced by isEnabled(), isEnabledForFSI(), isEnabledForMutableTables(), and levelAsString().
size_t File_Namespace::DiskCacheConfig::num_reader_threads = 0 |
Definition at line 48 of file CachingFileMgr.h.
Referenced by File_Namespace::CachingFileMgr::CachingFileMgr(), and dump().
size_t File_Namespace::DiskCacheConfig::page_size = DEFAULT_PAGE_SIZE |
Definition at line 50 of file CachingFileMgr.h.
Referenced by dump(), heavydb.thrift.ttypes.TNodeMemoryInfo::read(), heavydb.thrift.ttypes.TTableDetails::read(), heavydb.thrift.ttypes.TNodeMemoryInfo::write(), and heavydb.thrift.ttypes.TTableDetails::write().
std::string File_Namespace::DiskCacheConfig::path |
Definition at line 46 of file CachingFileMgr.h.
Referenced by File_Namespace::CachingFileMgr::CachingFileMgr(), dump(), and foreign_storage::ForeignStorageCache::ForeignStorageCache().
size_t File_Namespace::DiskCacheConfig::size_limit = DEFAULT_MAX_SIZE |
Definition at line 49 of file CachingFileMgr.h.
Referenced by File_Namespace::CachingFileMgr::CachingFileMgr(), and dump().