]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/store/Disk.h
SourceFormat Enforcement
[thirdparty/squid.git] / src / store / Disk.h
index 8445418d38b51852716a03255dbe398b45b27478..e1e5c10c09ae133a2be92c6a111212c7a116b331 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (C) 1996-2015 The Squid Software Foundation and contributors
+ * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
  *
  * Squid software is distributed under GPLv2+ license and includes
  * contributions from numerous individuals and organizations.
@@ -12,7 +12,6 @@
 #include "store/Controlled.h"
 #include "StoreIOState.h"
 
-
 class ConfigOption;
 class RemovalPolicy;
 
@@ -54,6 +53,10 @@ public:
     virtual void reference(StoreEntry &e) override;
     virtual bool dereference(StoreEntry &e) override;
     virtual void maintain() override;
+    virtual bool smpAware() const override { return false; }
+
+    /// the size of the smallest entry this cache_dir can store
+    int64_t minObjectSize() const;
 
     /// configure the maximum object size for this storage area.
     /// May be any size up to the total storage area.