mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-20 19:15:54 +00:00
Begin work on fetch_info command.
This commit is contained in:
@@ -148,6 +148,14 @@ public:
|
||||
return true;
|
||||
}
|
||||
|
||||
/** Empty the cache
|
||||
*/
|
||||
void clear ()
|
||||
{
|
||||
boost::mutex::scoped_lock sl (mNCLock);
|
||||
mCache.clear ();
|
||||
}
|
||||
|
||||
/** Remove stale entries from the cache.
|
||||
*/
|
||||
void sweep ()
|
||||
|
||||
Reference in New Issue
Block a user