25 #include <olp/core/Config.h>
26 #include <olp/core/CoreApi.h>
28 #include <olp/core/porting/deprecated.h>
29 #include <boost/optional.hpp>
34 #ifdef OLP_SDK_ENABLE_DEFAULT_CACHE
39 enum OpenOptions :
unsigned char {
48 enum class EvictionPolicy : unsigned char {
56 enum class CompressionType {
75 boost::optional<std::string> disk_path_mutable = boost::none;
84 std::uint64_t max_disk_storage = 1024ull * 1024ull * 32ull;
96 size_t max_chunk_size = 1024u * 1024u * 32u;
102 bool enforce_immediate_flush =
true;
110 size_t max_file_size = 1024u * 1024u * 2u;
117 size_t max_memory_cache_size = 1024u * 1024u;
122 OpenOptions openOptions = OpenOptions::Default;
132 EvictionPolicy eviction_policy = EvictionPolicy::kLeastRecentlyUsed;
146 CompressionType compression = CompressionType::kDefaultCompression;
164 boost::optional<std::string> disk_path_protected = boost::none;
176 bool extend_permissions =
false;
Rules all the other namespaces.
Definition: AppleSignInProperties.h:24
Settings for memory and disk caching.
Definition: CacheSettings.h:65