Interface that allows custom code to be called when checking to see if a cache entry
has expired. This is useful when the rules that determine when content needs refreshing
are beyond the base funtionality offered by OSCache.
version: $Revision: 254 $ author: Francois Beauregard
Method Summary
public boolean
needsRefresh(CacheEntry entry) Indicates whether the supplied CacheEntry needs to be refreshed.
This will be called when retrieving an entry from the cache - if this method
returns true then a NeedsRefreshException will be
thrown.
Parameters: entry - The cache entry that is being tested.
Indicates whether the supplied CacheEntry needs to be refreshed.
This will be called when retrieving an entry from the cache - if this method
returns true then a NeedsRefreshException will be
thrown.
Parameters: entry - The cache entry that is being tested. true if the content needs refreshing, false otherwise. See Also:NeedsRefreshException See Also:CacheEntry