[Box Backup-commit] COMMIT r2586 - box/trunk/bin/bbstored
subversion at boxbackup.org
subversion at boxbackup.org
Wed Nov 11 19:24:56 GMT 2009
Author: chris
Date: 2009-11-11 19:24:27 +0000 (Wed, 11 Nov 2009)
New Revision: 2586
Modified:
box/trunk/bin/bbstored/HousekeepStoreAccount.h
Log:
Add methods to get the number of refcounts adjusted by the last
housekeeping, for testing.
Modified: box/trunk/bin/bbstored/HousekeepStoreAccount.h
===================================================================
--- box/trunk/bin/bbstored/HousekeepStoreAccount.h 2009-11-11 19:23:50 UTC (rev 2585)
+++ box/trunk/bin/bbstored/HousekeepStoreAccount.h 2009-11-11 19:24:27 UTC (rev 2586)
@@ -40,8 +40,8 @@
~HousekeepStoreAccount();
void DoHousekeeping(bool KeepTryingForever = false);
+ int GetRefCountsAdjusted() { return mRefCountsAdjusted; }
-
private:
// utility functions
void MakeObjectFilename(int64_t ObjectID, std::string &rFilenameOut);
@@ -102,6 +102,7 @@
// New reference count list
std::vector<uint32_t> mNewRefCounts;
bool mSuppressRefCountChangeWarnings;
+ int mRefCountsAdjusted;
// Poll frequency
int mCountUntilNextInterprocessMsgCheck;
More information about the Boxbackup-commit
mailing list