org.pentaho.platform.api.cache
Interface ICacheExpirationRegistry

All Known Implementing Classes:
CacheExpirationRegistry

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:
ILastModifiedCacheItem

Method Summary
 List<ILastModifiedCacheItem> getCachedItems()
          Gets a List of all items registered
 void register(ILastModifiedCacheItem cacheItem)
          Adds an item to the registry
 void 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 a List of all items registered

Returns: