OmniSciDB
a5dc49c757
|
#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 |
size_t | meta_page_size = DEFAULT_METADATA_PAGE_SIZE |
Static Public Attributes | |
static constexpr size_t | DEFAULT_MAX_SIZE |
Definition at line 46 of file CachingFileMgr.h.
|
inline |
Definition at line 65 of file CachingFileMgr.h.
References levelAsString(), num_reader_threads, page_size, path, and size_limit.
|
inlinestatic |
Definition at line 85 of file CachingFileMgr.h.
References shared::kDefaultDiskCacheDirName.
Referenced by loadGeo().
|
inline |
Definition at line 64 of file CachingFileMgr.h.
References enabled_level, and File_Namespace::none.
Referenced by PersistentStorageMgr::PersistentStorageMgr().
|
inline |
Definition at line 61 of file CachingFileMgr.h.
References File_Namespace::all, enabled_level, and File_Namespace::fsi.
Referenced by PersistentStorageMgr::PersistentStorageMgr().
|
inline |
Definition at line 57 of file CachingFileMgr.h.
References File_Namespace::all, enabled_level, and File_Namespace::non_fsi.
Referenced by PersistentStorageMgr::PersistentStorageMgr(), and PersistentStorageMgr::removeMutableTableCacheData().
|
inline |
Definition at line 72 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 49 of file CachingFileMgr.h.
DiskCacheLevel File_Namespace::DiskCacheConfig::enabled_level = DiskCacheLevel::none |
Definition at line 52 of file CachingFileMgr.h.
Referenced by isEnabled(), isEnabledForFSI(), isEnabledForMutableTables(), and levelAsString().
size_t File_Namespace::DiskCacheConfig::meta_page_size = DEFAULT_METADATA_PAGE_SIZE |
Definition at line 56 of file CachingFileMgr.h.
size_t File_Namespace::DiskCacheConfig::num_reader_threads = 0 |
Definition at line 53 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 55 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 51 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 54 of file CachingFileMgr.h.
Referenced by File_Namespace::CachingFileMgr::CachingFileMgr(), and dump().