add comment

This commit is contained in:
Mike McCandless 2016-08-10 05:08:30 -04:00
parent 22eeba9920
commit 3816a0eb2b
1 changed files with 1 additions and 0 deletions

View File

@ -405,6 +405,7 @@ public class LRUQueryCache implements QueryCache, Accountable {
lock.lock();
try {
cache.clear();
// Note that this also clears the uniqueQueries map since mostRecentlyUsedQueries is the uniqueQueries.keySet view:
mostRecentlyUsedQueries.clear();
onClear();
} finally {