mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-15 19:02:04 +00:00
19 lines
495 B
C++
19 lines
495 B
C++
|
#include <Common/FileCache_fwd.h>
|
||
|
|
||
|
namespace Poco { namespace Util { class AbstractConfiguration; }}
|
||
|
|
||
|
namespace DB
|
||
|
{
|
||
|
|
||
|
struct FileCacheSettings
|
||
|
{
|
||
|
size_t max_cache_size = 0;
|
||
|
size_t max_cache_elements = REMOTE_FS_OBJECTS_CACHE_DEFAULT_MAX_ELEMENTS;
|
||
|
size_t max_file_segment_size = REMOTE_FS_OBJECTS_CACHE_DEFAULT_MAX_FILE_SEGMENT_SIZE;
|
||
|
bool cache_on_insert = false;
|
||
|
|
||
|
void loadFromConfig(const Poco::Util::AbstractConfiguration & config, const std::string & config_prefix);
|
||
|
};
|
||
|
|
||
|
}
|