| com.rift.coad.lib.cache.CacheEntry
All known Subclasses: com.rift.coad.lib.deployment.rmi.RMICacheEntry, com.rift.coad.lib.bean.ProxyCacheEntry, com.rift.coad.lib.bean.BeanHandler,
CacheEntry | public interface CacheEntry (Code) | | This is a basic generic cache entry interface. It can be used by classes
needing to be placed in a cache.
author: Brett Chaldecott |
Method Summary | |
public void | cacheRelease() This method is called by the cache when an object is removed. | public boolean | isExpired(Date expiryDate) This method will return true if the date is older than the given expiry
date.
TRUE if expired FALSE if not. Parameters: expiryDate - The expiry date to perform the check with. | public void | touch() The touch method use to update the last touch time of a cache entry. |
cacheRelease | public void cacheRelease()(Code) | | This method is called by the cache when an object is removed.
|
isExpired | public boolean isExpired(Date expiryDate)(Code) | | This method will return true if the date is older than the given expiry
date.
TRUE if expired FALSE if not. Parameters: expiryDate - The expiry date to perform the check with. |
touch | public void touch()(Code) | | The touch method use to update the last touch time of a cache entry.
|
|
|