ClickHouse/src/Common/FileCache_fwd.h

17 lines
394 B
C++
Raw Normal View History

2022-01-13 11:57:56 +00:00
#pragma once
#include <memory>
2022-01-13 11:57:56 +00:00
namespace DB
{
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-08-10 05:50:30 +00:00
class FileCache;
using FileCachePtr = std::shared_ptr<FileCache>;
2022-01-13 11:57:56 +00:00
struct FileCacheSettings;
2022-01-13 11:57:56 +00:00
}