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 aListof all items registeredvoidregister(ILastModifiedCacheItem cacheItem) Adds an item to the registryvoidunRegister(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 aListof all items registered- Returns:
-