Place expired and repacked objects into segments based on database.
[cumulus.git] / localdb.h
index 6d28cd8..bef9286 100644 (file)
--- a/localdb.h
+++ b/localdb.h
@@ -27,7 +27,8 @@ public:
     void StoreObject(const ObjectReference& ref,
                      const std::string &checksum, int64_t size, double age);
     ObjectReference FindObject(const std::string &checksum, int64_t size);
-    bool IsOldObject(const std::string &checksum, int64_t size, double *age);
+    bool IsOldObject(const std::string &checksum, int64_t size, double *age,
+                     int *group);
     bool IsAvailable(const ObjectReference &ref);
     void UseObject(const ObjectReference& ref);