Struct File_Namespace::DiskCacheConfig¶
-
struct
DiskCacheConfig
¶ Public Functions
-
bool
isEnabledForMutableTables
() const¶
-
bool
isEnabledForFSI
() const¶
-
bool
isEnabled
() const¶
-
std::string
dump
() const¶
-
std::string
levelAsString
() const¶
Public Members
-
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¶
Public Static Functions
-
static std::string
getDefaultPath
(const std::string &base_path)¶
Public Static Attributes
-
constexpr size_t
DEFAULT_MAX_SIZE
{(size_t)1024 * (size_t)1024 * (size_t)1024 * (size_t)100}¶
-
bool