code: public void refreshItems(List<CacheItem> itemsToRefresh, Cache cache) {
          for (CacheItem item : itemsToRefresh) {
              try {
                  refreshItem(item, cache);
              } catch (Exception ex) {
                  logger.error("Refresh for " + getScopeAndKeyString(item) + " failed", ex);
              }
          }
      }
docs: Refreshes the specified list of {@link org.craftercms.core.cache.CacheItem}s.