Package org.pentaho.platform.api.cache
Interface ICacheExpirationRegistry
-
public interface ICacheExpirationRegistry
This 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 aList
of all items registeredvoid
register(ILastModifiedCacheItem cacheItem)
Adds an item to the registryvoid
unRegister(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 aList
of all items registered- Returns:
-
-