2022-01-13 11:57:56 +00:00
|
|
|
#pragma once
|
2022-01-30 11:35:28 +00:00
|
|
|
#include <memory>
|
2022-01-13 11:57:56 +00:00
|
|
|
|
|
|
|
namespace DB
|
|
|
|
{
|
|
|
|
|
2022-02-18 09:06:13 +00:00
|
|
|
static constexpr int REMOTE_FS_OBJECTS_CACHE_DEFAULT_MAX_FILE_SEGMENT_SIZE = 100 * 1024 * 1024;
|
|
|
|
static constexpr int REMOTE_FS_OBJECTS_CACHE_DEFAULT_MAX_ELEMENTS = 1024 * 1024;
|
2022-05-25 08:54:28 +00:00
|
|
|
static constexpr int REMOTE_FS_OBJECTS_CACHE_ENABLE_HITS_THRESHOLD = 0;
|
2022-02-18 09:06:13 +00:00
|
|
|
|
2022-08-10 05:50:30 +00:00
|
|
|
class FileCache;
|
|
|
|
using FileCachePtr = std::shared_ptr<FileCache>;
|
2022-01-13 11:57:56 +00:00
|
|
|
|
2022-03-14 19:15:07 +00:00
|
|
|
struct FileCacheSettings;
|
|
|
|
|
2022-01-13 11:57:56 +00:00
|
|
|
}
|