if (regionName == null) throw new NullPointerException(
"Region-name cannot be null (use Cache#evictDefaultQueryRegion to evict the default query cache)");
if (settings.isQueryCacheEnabled()) {
QueryCache namedQueryCache = queryCaches.get(regionName);
// TODO : cleanup entries in queryCaches + allCacheRegions ?
if (namedQueryCache != null) namedQueryCache.clear();
}
}
public void evictQueryRegions() {
for ( QueryCache queryCache : queryCaches.values() ) {