Interface CacheRefresher

  • All Known Implementing Classes:
    CacheRefresherImpl

    public interface CacheRefresher
    Refreshes a list of CacheItems in a Cache. New values for the items will usually be obtained through CacheLoaders.
    Author:
    Sumer Jabri, Alfonso Vásquez
    • Method Detail

      • refreshItems

        void refreshItems​(List<CacheItem> itemsToRefresh,
                          Cache cache)
        Refreshes the specified list of CacheItems.
        Parameters:
        itemsToRefresh -
        cache - the cache where the new item values should be put