Begin work on fetch_info command.

This commit is contained in:
JoelKatz
2013-07-23 08:58:53 -07:00
parent 286158137e
commit 80db6e1228
9 changed files with 86 additions and 0 deletions

View File

@@ -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 ()