mirror of
https://github.com/XRPLF/rippled.git
synced 2025-12-06 17:27:55 +00:00
Report cache hit rates.
This commit is contained in:
@@ -65,7 +65,9 @@ public:
|
||||
|
||||
HashedObjectStore(int cacheSize, int cacheAge);
|
||||
|
||||
bool isLevelDB() { return mLevelDB; }
|
||||
bool isLevelDB() { return mLevelDB; }
|
||||
|
||||
float getCacheHitRate() { return mCache.getHitRate(); }
|
||||
|
||||
bool store(HashedObjectType type, uint32 index, const std::vector<unsigned char>& data,
|
||||
const uint256& hash)
|
||||
|
||||
Reference in New Issue
Block a user