Package org.pentaho.platform.api.cache
Interface ICacheExpirationRegistry
-
public interface ICacheExpirationRegistryThis interface defines the API for a registry ofILastModifiedCacheItem'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:
ILastModifiedCacheItem
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description List<ILastModifiedCacheItem>getCachedItems()Gets aListof all items registeredvoidregister(ILastModifiedCacheItem cacheItem)Adds an item to the registryvoidunRegister(ILastModifiedCacheItem cacheItem).
-
-
-
Method Detail
-
register
void register(ILastModifiedCacheItem cacheItem)
Adds an item to the registry- Parameters:
cacheItem-
-
unRegister
void unRegister(ILastModifiedCacheItem cacheItem)
. Removes an item from the registry- Parameters:
cacheItem-
-
getCachedItems
List<ILastModifiedCacheItem> getCachedItems()
Gets aListof all items registered- Returns:
-
-