File tree Expand file tree Collapse file tree 1 file changed +6
-2
lines changed
firestore/src/include/firebase/firestore Expand file tree Collapse file tree 1 file changed +6
-2
lines changed Original file line number Diff line number Diff line change @@ -52,6 +52,10 @@ class LocalCacheSettings {
52
52
private:
53
53
friend class FirestoreInternal ;
54
54
friend class Settings ;
55
+ friend class PersistentCacheSettings ;
56
+ friend class MemoryCacheSettings ;
57
+
58
+ LocalCacheSettings () = default ;
55
59
56
60
virtual Kind kind () const = 0;
57
61
virtual const LocalCacheSettingsInternal& internal () const = 0;
@@ -87,7 +91,7 @@ class PersistentCacheSettings final : public LocalCacheSettings {
87
91
* cleanup will be attempted.
88
92
*
89
93
* By default, persistence cache is enabled with a cache size of 100 MB. The
90
- * minimum value is 1 MB.
94
+ * minimum value is 1 MB (1 * 1024 * 1024 bytes) .
91
95
*/
92
96
PersistentCacheSettings WithSizeBytes (int64_t size) const ;
93
97
@@ -248,7 +252,7 @@ class MemoryLruGCSettings final : public MemoryGarbageCollectorSettings {
248
252
* cleanup will be attempted.
249
253
*
250
254
* By default, memory LRU cache is enabled with a cache size of 100 MB. The
251
- * minimum value is 1 MB.
255
+ * minimum value is 1 MB (1 * 1024 * 1024 bytes) .
252
256
*/
253
257
MemoryLruGCSettings WithSizeBytes (int64_t size);
254
258
You can’t perform that action at this time.
0 commit comments