Package org.craftercms.core.cache.impl
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 Summary
Modifier and TypeMethodDescriptionvoidrefreshItems(List<CacheItem> itemsToRefresh, Cache cache) Refreshes the specified list ofCacheItems.
-
Method Details
-
refreshItems
Refreshes the specified list ofCacheItems.- Parameters:
itemsToRefresh-cache- the cache where the new item values should be put
-