Skip to content

Commit

Permalink
HHH-8747 evictQueryRegions should evict the default region
Browse files Browse the repository at this point in the history
  • Loading branch information
brmeyer committed Feb 4, 2014
1 parent b946b5e commit f8b18a3
Showing 1 changed file with 2 additions and 1 deletion.
Expand Up @@ -260,6 +260,8 @@ public void evictQueryRegion(String regionName) {

@Override
public void evictQueryRegions() {
evictDefaultQueryRegion();

if ( CollectionHelper.isEmpty( queryCaches ) ) {
return;
}
Expand All @@ -268,7 +270,6 @@ public void evictQueryRegions() {
}
for ( QueryCache queryCache : queryCaches.values() ) {
queryCache.clear();
// TODO : cleanup entries in queryCaches + allCacheRegions ?
}
}

Expand Down

0 comments on commit f8b18a3

Please sign in to comment.