315316317318319320321322323324325
response = new ListResponse(cachedResults); } } else { // on cache-refresh request, fetch without blocking and fill the cache queryCache.put(metadata, (List) factory.createObject()); } return DONE; }