Package org.craftercms.core.cache.impl
Interface CacheRefresher
- All Known Implementing Classes:
CacheRefresherImpl
public interface CacheRefresher
Refreshes a list of
CacheItem
s in a Cache
. New
values for the items will usually be obtained through
CacheLoader
s.- Author:
- Sumer Jabri, Alfonso Vásquez
-
Method Summary
Modifier and TypeMethodDescriptionvoid
refreshItems
(List<CacheItem> itemsToRefresh, Cache cache) Refreshes the specified list ofCacheItem
s.
-
Method Details
-
refreshItems
Refreshes the specified list ofCacheItem
s.- Parameters:
itemsToRefresh
-cache
- the cache where the new item values should be put
-