mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Report the number of "backed up" node writes in get_counts.
This commit is contained in:
@@ -55,6 +55,7 @@ protected:
|
||||
boost::mutex mWriteMutex;
|
||||
boost::condition_variable mWriteCondition;
|
||||
int mWriteGeneration;
|
||||
int mWriteLoad;
|
||||
|
||||
std::vector< boost::shared_ptr<HashedObject> > mWriteSet;
|
||||
bool mWritePending;
|
||||
@@ -101,6 +102,7 @@ public:
|
||||
void waitWrite();
|
||||
void tune(int size, int age);
|
||||
void sweep() { mCache.sweep(); mNegativeCache.sweep(); }
|
||||
int getWriteLoad();
|
||||
|
||||
int import(const std::string& fileName);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user