OmniSciDB  95562058bd
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DiskCacheConfig Struct Reference

#include <ForeignStorageCache.h>

+ Collaboration diagram for DiskCacheConfig:

Public Member Functions

bool isEnabledForMutableTables () const
 
bool isEnabledForFSI () const
 
bool isEnabled () const
 

Public Attributes

std::string path
 
DiskCacheLevel enabled_level = DiskCacheLevel::none
 
uint64_t size_limit = 21474836480
 
size_t num_reader_threads = 0
 

Detailed Description

Definition at line 42 of file ForeignStorageCache.h.

Member Function Documentation

bool DiskCacheConfig::isEnabled ( ) const
inline

Definition at line 54 of file ForeignStorageCache.h.

References enabled_level, and none.

Referenced by PersistentStorageMgr::PersistentStorageMgr().

+ Here is the caller graph for this function:

bool DiskCacheConfig::isEnabledForFSI ( ) const
inline

Definition at line 51 of file ForeignStorageCache.h.

References all, enabled_level, and fsi.

Referenced by PersistentStorageMgr::isChunkPrefixCacheable(), and PersistentStorageMgr::PersistentStorageMgr().

+ Here is the caller graph for this function:

bool DiskCacheConfig::isEnabledForMutableTables ( ) const
inline

Definition at line 47 of file ForeignStorageCache.h.

References all, enabled_level, and non_fsi.

Referenced by PersistentStorageMgr::createPersistentStorageMgr(), PersistentStorageMgr::isChunkPrefixCacheable(), and MutableCachePersistentStorageMgr::MutableCachePersistentStorageMgr().

+ Here is the caller graph for this function:

Member Data Documentation

size_t DiskCacheConfig::num_reader_threads = 0
uint64_t DiskCacheConfig::size_limit = 21474836480

The documentation for this struct was generated from the following file: