Changeset 2541 for box/trunk/bin/bbstored/HousekeepStoreAccount.h
- Timestamp:
- 28/06/2009 20:29:10 (3 years ago)
- File:
-
- 1 edited
-
box/trunk/bin/bbstored/HousekeepStoreAccount.h (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
box/trunk/bin/bbstored/HousekeepStoreAccount.h
r2176 r2541 18 18 class BackupStoreDirectory; 19 19 20 class HousekeepingCallback 21 { 22 public: 23 virtual ~HousekeepingCallback() {} 24 virtual bool CheckForInterProcessMsg(int AccountNum = 0, int MaximumWaitTime = 0) = 0; 25 }; 20 26 21 27 // -------------------------------------------------------------------------- … … 30 36 { 31 37 public: 32 HousekeepStoreAccount(int AccountID, const std::string &rStoreRoot, int StoreDiscSet, BackupStoreDaemon &rDaemon); 38 HousekeepStoreAccount(int AccountID, const std::string &rStoreRoot, 39 int StoreDiscSet, HousekeepingCallback* pHousekeepingCallback); 33 40 ~HousekeepStoreAccount(); 34 41 35 void DoHousekeeping( );42 void DoHousekeeping(bool KeepTryingForever = false); 36 43 37 44 … … 66 73 std::string mStoreRoot; 67 74 int mStoreDiscSet; 68 BackupStoreDaemon &mrDaemon;75 HousekeepingCallback* mpHousekeepingCallback; 69 76 70 77 int64_t mDeletionSizeTarget; … … 92 99 int64_t mFilesDeleted; 93 100 int64_t mEmptyDirectoriesDeleted; 101 102 // New reference count list 103 std::vector<uint32_t> mNewRefCounts; 104 bool mSuppressRefCountChangeWarnings; 94 105 95 106 // Poll frequency
Note: See TracChangeset
for help on using the changeset viewer.
