Package org.pentaho.platform.api.cache
Interface ICacheExpirationRegistry
public interface ICacheExpirationRegistry
This interface defines the API for a registry of
ILastModifiedCacheItem
's. All items in the
registry will have a last modified timestamp that can be used to determine if a cache item is up-to-date or not- Author:
- rfellows
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionGets aList
of all items registeredvoid
register
(ILastModifiedCacheItem cacheItem) Adds an item to the registryvoid
unRegister
(ILastModifiedCacheItem cacheItem) .
-
Method Details
-
register
Adds an item to the registry- Parameters:
cacheItem
-
-
unRegister
. Removes an item from the registry- Parameters:
cacheItem
-
-
getCachedItems
List<ILastModifiedCacheItem> getCachedItems()Gets aList
of all items registered- Returns:
-