code: public void refreshCache(String cacheName, List<String> excludedFormats) {
          CacheService cache = allCaches.get(cacheName);
          if (cache != null) {
              if (excludedFormats != null && cache instanceof ExcludableCache && excludedFormats.contains(((ExcludableCache)cache).getFormat())) {
                  logger.debug(" - omitting cache " + cacheName);
              }
              else {
                  logger.info(" - refresh cache " + cacheName);
                  try {
                      cache.refreshCache();
                  } catch (Exception e) {
                      logger.severeException("failed to refresh cache", e);
                  }
              }
          }
      }
docs: Refreshes a particular cache by name.
  @param cacheName the cache to refresh